Coder Social home page Coder Social logo

endeavouros-team / endeavouros-i3wm-setup Goto Github PK

View Code? Open in Web Editor NEW
413.0 6.0 113.0 6.46 MB

The beloved EndeavourOS default i3 (has gaps) theme and setup dotfile repo

License: GNU General Public License v3.0

Shell 70.78% Perl 13.65% Scheme 8.01% Python 7.46% CSS 0.10%
i3wm

endeavouros-i3wm-setup's Issues

temperature script: "sensors" command

To get chips' temperature in script, "sensors -u $chip |" command is used as main way to achieve the function.
the output is seems lilke due to this loop, which seems like read temp1_input as default temp indicator.
while () {
if (/^\s+temp1_input:\s+[+]([-]\d+.\d)/) {
$temperature = $1;
last;
}
}
close(SENSORS);

here is my "sensors -u $chip" output in shell:

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:
temp1_input: 43.000

temp1_input is allocated to the virtual device.

I'm not familiar with programming, just could read basic bash or python script, it seems like I need some help from advanced programmers.
so, Is there any way to mk temp indicator as default expected functions?Thanks

Resize the windows

i did a raw install
and idk how to resize the windows

i tried many keybindings

Font for title bars in this repo

Could you upload or provide source for default font used for this config, please? It was patched Noto Sans I think. Mine was overwritten by another one.

Monitor brightness

Description

Hi. Monitor brightness control keys (XF86MonBrightnessUp & XF86MonBrightnessDown) might not work out of the box on some systems.

Issue

In i3 config xbacklight is used to control brightness.
But xbacklight only works with Intel drivers (see: https://wiki.archlinux.org/title/backlight).

Steps to reproduce

  • CPU: AMD Ryzen 7 PRO 5850U with Radeon Graphics

Command:

xbacklight -get

will return No outputs have backlight property.

Possible fix

  1. Install acpilight that is backward-compatibile with xbacklight - so there would be no need to change i3 config.
  2. Add current user to the video group (as mentioned in: https://gitlab.com/wavexx/acpilight/-/issues/16) to allow user to update brightness.

Startup apps?

No guide for managing startup applications. How on earth is Skype able to launch at login if there isn't a tool for this? A Google search yielded no helpful information on this topic.

help with icons

Hi!
I've been using Linuxmint 20.3 since 2021 and I've decided to switch to EndeavourOS some weeks ago.
When I have installed EndeavourOS, I've choosen to install the official i3 flavour and after install, I booted to i3 and the icons in the menus were normal. After I have extracted my old ~, which it had a LOT OF fonts in ~/.fonts and ~/.local/share/fonts, they were not as they were before

e.g the powermenu
scrot

the battery mode menu
scrot2

fc-list
fc-list.txt

fc-list | awk -F ":" '{ print $2 }' | uniq
fc-list2.txt

this is probably my fault with all these fonts i have on my ~ 😅

icons shrunk

2022-09-12-10:05:44-screenshot

This happen after I update 09/12/2022.

I am on i3wm, endeavourOS.

I also check the config for i3, nothing looked change/different.

Thank you!

This is the best default configuration I ever used and, thank you for your work, it helped me a lot to build my own configuration and learn about Linux.

archlinux

Hello how can I install endeavouros-i3wm-setup in my arch base

Picom exec in i3 config

HI, I want to open this issue to give attention to the picom exec command that you can find on the i3 config file
I know that it is disabled by default but the command
exec --no-startup-id picom -b
doesn't work when I apply the changes ( actually does with a reboot )
but if I do:
exec_always --no-startup-id picom -b
will work perfectly after only a reload of i3wm I think this change could make the default experience better

Cheers,
Al6263 ( EOS user )

Conflicting Files

When I run:

sudo pacman -S --needed - < i3

, I get

Total nedlastingsstørrelse:     0,07 MiB
Total installasjonsstørrelse:   0,10 MiB

:: Fortsett installasjonen? [J/n] j
:: Laster ned pakker...
 endeavouros-skel-default-1.0-3-any                         15,3 KiB  47,8 KiB/s 00:00 [--------------------------------------------------] 100%
 eos-lightdm-slick-theme-2.0-1-any                          13,5 KiB  39,6 KiB/s 00:00 [--------------------------------------------------] 100%
 endeavouros-skel-i3wm-3.0-9-any                            41,0 KiB   113 KiB/s 00:00 [--------------------------------------------------] 100%
 Totalt (3/3)                                               69,8 KiB   167 KiB/s 00:00 [--------------------------------------------------] 100%
(3/3) kontrollerer nøkler i nøkkelringen                                               [--------------------------------------------------] 100%
(3/3) kontrollerer pakkeintegritet                                                     [--------------------------------------------------] 100%
(3/3) laster pakkefiler                                                                [--------------------------------------------------] 100%
(3/3) finner filkollisjoner                                                            [--------------------------------------------------] 100%
feil: kunne ikke utføre transaksjon (motstridende filer)
eos-lightdm-slick-theme: /etc/lightdm/slick-greeter.conf finnes i filsystemet
Feil oppstod, ingen pakker ble oppgradert.

Keyboard map

Where the instalation gets the default keyboard configuration?

edit: all i can found online are paliative solutions regarding calls of setxkbdmap in i3 config but I want to change the original configuration

Play-Pause doesn't work

For me, the play pause function with playerctl wasn't working. I fixed it by changing
bindsym XF86AudioPlay exec --no-startup-id playerctl play
to
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
And commenting out the same function for pause.

endeavouros-gemini

if i have endeavouros-gemini installed with kde , is it safe to use i3wm script to install or should i do it manually ?

Disk, memory and cpu labels overlap values

Experiencing an issue where the labels (fontawesome glyphs) are overlapping with the values they represent.

Temporarily I've resolved the issue by adding spaces (3 to be accurate) at the end of each label in i3blocks.conf, and that seems to work but I don't know if it's the best solution for everyone, or if there's a more universal option, and so haven't submitted a PR. I can do so if you'd like

Battery Charge display not working

Battery Charge is not being displayed in status bar, running the battery.sh also gives following errors

Use of uninitialized value $bat_state in pattern match (m//) at .config/i3/scripts/battery.sh line 46.
Use of uninitialized value $bat_state in concatenation (.) or string at .config/i3/scripts/battery.sh line 47.

After switching back to this version https://github.com/endeavouros-team/endeavouros-i3wm-setup/blob/3c7ced74922a4116bbec21a44d20687c0abefdb3/.config/i3/scripts/battery.sh it works again

Assorted blur-lock things

I was recently doing some digging to configure myself a combination lock and suspend on top of the base EndevourOS i3 and I had some thoughts for discussion.

  • It appears the blur-lock implementation is a verbatim copy of this repo, and it does not appear that any credit is given to the author(s). While their script is extremely useful, it is not complicated, but nevertheless it seems right to credit them given that it's a direct copy. Also, their code has no license, which could be a problem.
  • There is an umerged PR on said code that offers a very nice suggestion (adding -z to the scrot call to ensure no beep). On my system the beep is horrible and jolting, and I think this flag should definitely be added to our version.
  • How do people feel about a lock+suspend entry in the menu, or replacing the command for the "suspend" with lock+suspend commands (my preference and current config)? Personally, I think this is much more useful and desirable than a plain suspend, and I believe most desktop environments also lean this way (calling it suspend and doing a lock+suspend). It also keeps from having a lock but no sleep/dark case, which I have had multiple times, and is quite frustrating and possibly bad for your screen.

Backlight keyboard

Hello. Keyboard backlight is not working out of the box.
I modified Giorgos Keramidas's script (https://keramida.wordpress.com/2013/03/28/controlling-the-keyboard-backlight-from-cli/) to handle a stepwise increase/decrease of the backlight.

Here the code:

#!/bin/sh
 
# backlight_get
#       Print current keyboard brightness from UPower to stdout.
backlight_get()
{
    dbus-send --type=method_call --print-reply=literal --system         \
        --dest='org.freedesktop.UPower'                                 \
        '/org/freedesktop/UPower/KbdBacklight'                          \
        'org.freedesktop.UPower.KbdBacklight.GetBrightness'             \
        | awk '{print $2}'
}
 
# backlight_get_max
#       Print the maximum keyboard brightness from UPower to stdout.
backlight_get_max()
{
    dbus-send --type=method_call --print-reply=literal --system       \
        --dest='org.freedesktop.UPower'                               \
        '/org/freedesktop/UPower/KbdBacklight'                        \
        'org.freedesktop.UPower.KbdBacklight.GetMaxBrightness'        \
        | awk '{print $2}'
}
 
# backlight_set NUMBER
#       Set the current backlight brighness to NUMBER, through UPower
backlight_set()
{
    value="$1"
    if test -z "${value}" ; then
        echo "Invalid backlight value ${value}"
    fi
 
    dbus-send --type=method_call --print-reply=literal --system       \
        --dest='org.freedesktop.UPower'                               \
        '/org/freedesktop/UPower/KbdBacklight'                        \
        'org.freedesktop.UPower.KbdBacklight.SetBrightness'           \
        "int32:${value}}"
}
 
# backlight_change [ UP | DOWN | NUMBER ]
#       Change the current backlight value upwards or downwards, or
#       set it to a specific numeric value.
backlight_change()
{
    change="$1"
    if test -z "${change}" ; then
        echo "Invalid backlight change ${change}."                    \
            "Should be 'up' or 'down'." >&2
        return 1
    fi
 
    case ${change} in
    # AMST - manage increase and decrease
    [+-][1234567890]|[[+-][[1234567890][[1234567890]|[[+-][[1234567890][[1234567890][[1234567890])
        current=$( backlight_get )
        max=$( backlight_get_max )
        value=$( expr $((change)) + 0 )
        current_and_value=$( expr ${current} + ${value})
        if test ${current_and_value} -lt 0 ; then
            current_and_value=0
        elif test ${current_and_value} -gt ${max} ; then
            current_and_value=${max}
        fi
        backlight_set "${current_and_value}"
        notify-send -t 800 "Keyboard brightness set to ${current_and_value}"
        ;;

    # AMST - manage max 3 digits input instead of only 2
    # [1234567890]|[[1234567890][[1234567890])
    [1234567890]|[[1234567890][[1234567890]|[[1234567890][[1234567890][[1234567890])
        current=$( backlight_get )
        max=$( backlight_get_max )
        value=$( expr ${change} + 0 )
        if test ${value} -lt 0 || test ${value} -gt ${max} ; then
            echo "Invalid backlight value ${value}."                  \
                "Should be a number between 0 .. ${max}" >&2
            return 1
        else
            backlight_set "${value}"
            notify-send -t 800 "Keyboard brightness set to ${value}"
        fi
        ;;
 
    [uU][pP])
        current=$( backlight_get )
        max=$( backlight_get_max )
        if test "${current}" -lt "${max}" ; then
            value=$(( ${current} + 1 ))
            backlight_set "${value}"
            notify-send -t 800 "Keyboard brightness set to ${value}"
        fi
        ;;
 
    [dD][oO][wW][nN])
        current=$( backlight_get )
        if test "${current}" -gt 0 ; then
            value=$(( ${current}  - 1 ))
            backlight_set "${value}"
            notify-send -t 800 "Keyboard brightness set to ${value}"
        fi
        ;;
 
    *)
        echo "Invalid backlight change ${change}." >&2
        echo "Should be 'up' or 'down' or a number between"           \
            "1 .. $( backlight_get_max )" >&2
        return 1
        ;;
    esac
}
 
if test $# -eq 0 ; then
    current_brightness=$( backlight_get )
    notify-send -t 800 "Keyboard brightness is ${current_brightness}"
else
    # Handle multiple backlight changes, e.g.:
    #   backlight.sh up up down down up
    for change in "$@" ; do
        backlight_change "${change}"
    done
fi

and here the config edited

# increase/decrease keyboard brightness
bindsym XF86KbdBrightnessUp exec backlight +25
bindsym XF86KbdBrightnessDown exec backlight down -25

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.