From 1a9bc7a60277f8e0fb932bc040532125e49dd633 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Mon, 3 Oct 2022 20:53:23 +0200 Subject: [PATCH 1/7] Adapt battery i3block to not show mouse battery --- i3/.config/i3/i3blocks/battery/battery | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/.config/i3/i3blocks/battery/battery b/i3/.config/i3/i3blocks/battery/battery index c2e72f8..c7062eb 100755 --- a/i3/.config/i3/i3blocks/battery/battery +++ b/i3/.config/i3/i3blocks/battery/battery @@ -25,7 +25,7 @@ my $short_text; my $bat_number = $ENV{BLOCK_INSTANCE} || 0; # read the first line of the "acpi" command output -open (ACPI, "acpi -b | grep 'Battery $bat_number' |") or die; +open (ACPI, "acpi -b | grep -v 'unavailable' |") or die; $acpi = ; close(ACPI); From 5a2f17f2eb18879a24a246855c1e60bbdc8eb04c Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Mon, 3 Oct 2022 20:54:05 +0200 Subject: [PATCH 2/7] Remove workadventure i3block --- i3/.config/i3/i3blocks.conf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/i3/.config/i3/i3blocks.conf b/i3/.config/i3/i3blocks.conf index 5b17bee..d26ac97 100644 --- a/i3/.config/i3/i3blocks.conf +++ b/i3/.config/i3/i3blocks.conf @@ -54,10 +54,6 @@ label= instance=Capture interval=1 -[workadventure] -label= -interval=60 - [wifi] label= instance=wlp4s0 From f43cea07d834ead773a421ef3d57e98957109b73 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Mon, 3 Oct 2022 20:54:48 +0200 Subject: [PATCH 3/7] Change i3exit to use light-locker --- i3/.config/i3/i3exit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/.config/i3/i3exit b/i3/.config/i3/i3exit index 51e211a..6096443 100755 --- a/i3/.config/i3/i3exit +++ b/i3/.config/i3/i3exit @@ -2,7 +2,7 @@ case "$1" in lock) - i3lock -B 10 --pass-media-keys --pass-screen-keys + light-locker-command -l ;; switch_user) dm-tool lock From 34a0ad610578b0698deb4931099eec032939665d Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Mon, 3 Oct 2022 20:55:56 +0200 Subject: [PATCH 4/7] Adapt to new thunderbird class in i3 config --- i3/.config/i3/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index f2d400b..9e3f086 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -206,7 +206,7 @@ bindsym $mod+Ctrl+7 move container to workspace $ws7; workspace $ws7 bindsym $mod+Ctrl+8 move container to workspace $ws8; workspace $ws8 # Open applications on specific workspaces -assign [class="Thunderbird"] $ws6 +assign [class="thunderbird"] $ws6 assign [class="TelegramDesktop"] $ws5 assign [class="discord"] $ws5 assign [class="Signal"] $ws5 From 63ba73b706d4b256c000f00769d3ebec2bf66379 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Mon, 3 Oct 2022 20:56:18 +0200 Subject: [PATCH 5/7] Change default terminal to sakura --- i3/.config/i3/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 9e3f086..5102325 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -32,7 +32,7 @@ font xft:URWGothic-Book 11 floating_modifier $mod # start a terminal -bindsym $mod+Return exec kitty +bindsym $mod+Return exec sakura # kill focused window bindsym $mod+Shift+q kill From 02ab9afb317ba8d50b37e745739470e2abd70b07 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Mon, 3 Oct 2022 20:56:37 +0200 Subject: [PATCH 6/7] Change rofi-rbw action to reflect update --- i3/.config/i3/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 5102325..994f389 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -42,7 +42,7 @@ bindsym $mod+Shift+q kill bindsym $mod+d exec --no-startup-id rofi -show drun bindsym $mod+Tab exec --no-startup-id rofi -show window #bindsym $mod+Shift+p exec --no-startup-id bwmenu -bindsym $mod+Shift+p exec --no-startup-id rofi-rbw --action copy-password +bindsym $mod+Shift+p exec --no-startup-id rofi-rbw --action copy bindsym $mod+Shift+v exec --no-startup-id /home/julius/.local/bin/startvm.sh From c6577fa217322ab163015fc91fb539e53a1e87e0 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Mon, 3 Oct 2022 20:57:43 +0200 Subject: [PATCH 7/7] Add solaar and light-locker to autostart --- i3/.config/i3/config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 994f389..8b243ce 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -299,12 +299,13 @@ mode "resize" { exec dunst exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec --no-startup-id nitrogen --restore +exec --no-startup-id solaar -w hide #exec --no-startup-id wpa_gui -qt exec --no-startup-id nm-applet # exec --no-startup-id blueman-applet exec redshift-gtk exec --no-startup-id dockd --daemon -#exec light-locker +exec light-locker # Color palette used for the terminal ( ~/.Xresources file ) # Colors are gathered based on the documentation: # https://i3wm.org/docs/userguide.html#xresources