diff options
Diffstat (limited to '')
| -rw-r--r-- | dot_config/i3/config (renamed from .config/i3/config) | 25 | ||||
| -rw-r--r-- | dot_config/i3/i3status.conf (renamed from etc/i3status.conf) | 16 |
2 files changed, 21 insertions, 20 deletions
diff --git a/.config/i3/config b/dot_config/i3/config index 1956ec4..e469d5f 100644 --- a/.config/i3/config +++ b/dot_config/i3/config @@ -24,11 +24,11 @@ font pango:monospace 8 # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the # screen before suspend. Use loginctl lock-session to lock your screen. -exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork +exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --color=040217 --show-failed-attemps --nofork # NetworkManager is the most popular way to manage wireless networks on Linux, # and nm-applet is a desktop environment-independent system tray GUI for it. -exec --no-startup-id nm-applet +#exec --no-startup-id nm-applet # Use pactl to adjust volume in PulseAudio. set $refresh_i3status killall -SIGUSR1 i3status @@ -196,9 +196,9 @@ bar { # Firefox - (W)eb browser bindsym $mod+Shift+W exec notify-send -t 5000 -i /usr/share/icons/hicolor/256x256/apps/firefox.png "Opening" "<span color='#ff6600' font='26px'><b>firefox</b></span>" ; exec firefox # Power off - X -bindsym $mod+Shift+X exec "i3-nagbar -t warning -f fixed -m 'You pressed the shutting shortcut. Do you really eant to shut you computer?' -B 'Yes, shut it.' 'sudo poweroff'" +bindsym $mod+Shift+X exec "i3-nagbar -t warning -f fixed -m 'You pressed the shutting shortcut. Do you really eant to shut you computer?' -B 'Yes, shut it.' 'sudo /bin/poweroff'" # Reboot - BackSpace -bindsym $mod+Shift+BackSpace exec "i3-nagbar -t warning -f fixed -m 'You pressed the restarting shortcut. Do you really eant to restart you computer?' -B 'Yes, restart it.' 'sudo reboot'" +bindsym $mod+Shift+BackSpace exec "i3-nagbar -t warning -f fixed -m 'You pressed the restarting shortcut. Do you really eant to restart you computer?' -B 'Yes, restart it.' 'sudo /bin/reboot'" # (T)eams bindsym $mod+Shift+T exec notify-send -t 5000 -i /home/mas/Pictures/icons/teams.png "Opening" "<span color='purple' font='26px'><b>Teams</b></span>" ; exec teams # (P)assword manager @@ -221,8 +221,8 @@ client.placeholder #20202D #20202D #FFFFFF #0C1746 #3C3C54 client.background #D52C70 # suspend and hibernate -bindsym $mod+Shift+S exec "i3-nagbar -t warning -f fixed -m 'You pressed the suspending shortcut. Do you really want to suspend your computer?' -B 'Yes, suspend it.' 'sudo zzz'" -bindsym $mod+Shift+Delete exec "i3-nagbar -t warning -f fixed -m 'You pressed the hibernating shortcut. Do you really want to put your computer to sleep?' -B 'Yes, do it.' 'sudo ZZZ'" +bindsym $mod+Shift+S exec "i3-nagbar -t warning -f fixed -m 'You pressed the suspending shortcut. Do you really want to suspend your computer?' -B 'Yes, suspend it.' 'sudo /bin/zzz'" +bindsym $mod+Shift+Delete exec "i3-nagbar -t warning -f fixed -m 'You pressed the hibernating shortcut. Do you really want to put your computer to sleep?' -B 'Yes, do it.' 'sudo /bin/ZZZ'" # What happens when we hit the power button bindsym XF86PowerOff exec xcowsay $(fortune -os) @@ -366,7 +366,7 @@ bindsym XF86AudioNext exec playerctl next #bindsym XF86AudioPrev exec playerctl previous # Screenshot with scrot -bindsym Print exec notify-send -t 5000 -i /home/mas/Pictures/icons/screenshot.png "Launching" "<span color='cyan' font='26px'><b>scrot</b></span>" ; exec scrot --silent --exec 'mv $f ~/Pictures && sxiv ~/Pictures/$f' +bindsym Print exec notify-send -t 5000 -i /home/mas/Pictures/icons/screenshot.png "Launching" "<span color='cyan' font='26px'><b>scrot</b></span>" ; exec scrot --silent --exec 'mv $f ~/Pictures/screenshots && sxiv ~/Pictures/screenshots/$f' # (C)hromium bindsym $mod+Shift+C exec notify-send -t 5000 -i /usr/share/icons/hicolor/256x256/apps/chromium.png "Opening" "<span color='#5D7FD2' font='26px'><b>chromium</b></span>" ; exec chromium @@ -385,7 +385,7 @@ bindsym $mod+Shift+U exec setxkbmap us && exec notify-send -t 5000 "US xkbmap" bindsym $mod+Shift+F exec setxkbmap fr && exec notify-send -t 5000 "FR xkbmap" # Network manager - (I)nternet -bindsym $mod+Shift+I exec networkmanager_dmenu +#bindsym $mod+Shift+I exec networkmanager_dmenu #Krita - F1 bindsym $mod+Shift+F1 exec notify-send -t 5000 -i /usr/share/icons/hicolor/1024x1024/apps/krita.png "Lauching" "<span color='pink' font='26px'><b>Krita</b></span>" && exec krita @@ -398,7 +398,8 @@ bindsym $mod+Shift+F10 exec i3-msg exit #Android Studio - F2 bindsym $mod+Shift+F2 exec notify-send -t 5000 -i /home/mas/Pictures/icons/android_studio.png "Lauching" "<span color='#004d00' font='26px'><b>Android Studio</b></span>" && exec studio -#R Studio - F3 -bindsym $mod+Shift+F3 exec notify-send -t 5000 -i /home/mas/Pictures/icons/r_studio.png "Lauching" "<span color='#63aaed' font='26px'><b>R Studio</b></span>" && exec rstudio -#Visual Code Studio - F4 -bindsym $mod+Shift+F4 exec notify-send -t 5000 -i /home/mas/Pictures/icons/vscode.png "Lauching" "<span color='#3faaf2' font='26px'><b>VSCode</b></span>" && exec code + +exec_always --no-startup-id /usr/bin/i3wsr + +#(L)ock +bindsym $mod+Ctrl+l exec i3lock --show-failed-attempts --color=040217 diff --git a/etc/i3status.conf b/dot_config/i3/i3status.conf index 7d4ff28..0f1f048 100644 --- a/etc/i3status.conf +++ b/dot_config/i3/i3status.conf @@ -37,10 +37,10 @@ ethernet _first_ { battery all { format = "%status %percentage %remaining %emptytime" format_down = "No battery" - status_chr = "⚡ CHR" - status_bat = "🔋 BAT" - status_unk = "❓ UNK" - status_full = "😈 FULL" + status_chr = "CHR" + status_bat = "BAT" + status_unk = "UNK" + status_full = "FULL" path = "/sys/class/power_supply/BAT%d/uevent" low_threshold = 20 color_bad="red" @@ -49,10 +49,10 @@ battery all { battery 0 { format = "%status %percentage" format_down = "No battery" - status_chr = "🔌 CHR" - status_bat = "🔋 BAT" - status_unk = "? UNK" - status_full = "☻ FULL" + status_chr = "CHR" + status_bat = "BAT" + status_unk = "UNK" + status_full = "FULL" path = "/sys/class/power_supply/BAT%d/uevent" low_threshold = 20 color_bad="red" |
