diff --git a/config/.config/dunst/dunstrc b/config/.config/dunst/dunstrc index 7eabf8a..c17b0a8 100644 --- a/config/.config/dunst/dunstrc +++ b/config/.config/dunst/dunstrc @@ -146,6 +146,9 @@ # Merge multiple notifications with the same content stack_duplicates = true + # Sets the stack tag for the notification, notifications with the same (non-empty) stack tag will replace each-other so only the newest one is visible. + set_stack_tag = "tag" + # Hide the count of merged notifications with the same content hide_duplicate_count = true diff --git a/config/.config/i3/config b/config/.config/i3/config index 1ef5df0..1f98cd9 100644 --- a/config/.config/i3/config +++ b/config/.config/i3/config @@ -129,13 +129,13 @@ bindsym $mod+Shift+q kill bindsym $mod+d exec --no-startup-id rofi -X -show run # Screen brightness controls -bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'" -bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'" +bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; a=$(xbacklight | cut -d\. -f1)%; dunstify -r 1 'brightness up'\ \($a\)" +bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; a=$(xbacklight | cut -d\. -f1)%; dunstify -r 1 'brightness down'\ \($a\)" # Pulse Audio controls -bindsym XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-volume $(pactl info | grep 'Default Sink' | cut -d' ' -f3) +5%; notify-send 'sound up'" -bindsym XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume $(pactl info | grep 'Default Sink' | cut -d' ' -f3) -5%; notify-send 'sound down'" -bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute $(pactl info | grep 'Default Sink' | cut -d' ' -f3) toggle; notify-end 'sound muted'" +bindsym XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume $(pactl info | grep 'Default Sink' | cut -d' ' -f3) -5%; b=$(amixer sget Master | grep -o \[0-9\]\\+% -m 1); dunstify -r 2 'sound down'\ \($b\)" +bindsym XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-volume $(pactl info | grep 'Default Sink' | cut -d' ' -f3) +5%; b=$(amixer sget Master | grep -o \[0-9\]\\+% -m 1); dunstify -r 2 'sound up'\ \($b\)" +bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute $(pactl info | grep 'Default Sink' | cut -d' ' -f3) toggle; dunstify -r 2 'sound muted'" bindsym XF86AudioPlay exec "playerctl play-pause; cmus-remote -u" bindsym XF86AudioStop exec "playerctl stop; cmus-remote -s" bindsym XF86AudioNext exec "playerctl next; cmus-remote -n" @@ -165,8 +165,8 @@ bindsym $mod+Shift+k move up bindsym $mod+Shift+l move right # split orientation -bindsym $mod+c split h;exec notify-send 'tile horizontally' -bindsym $mod+v split v;exec notify-send 'tile vertically' +bindsym $mod+c split h;exec dunstify -r 3 'tile horizontally' +bindsym $mod+v split v;exec dunstify -r 3 'tile vertically' bindsym $mod+q split toggle # toggle fullscreen mode for the focused container diff --git a/config/.local/share/ranger/bookmarks b/config/.local/share/ranger/bookmarks index 4fb7048..0327768 100644 --- a/config/.local/share/ranger/bookmarks +++ b/config/.local/share/ranger/bookmarks @@ -5,7 +5,8 @@ m:/run/media/tuan a:/home/tuan/Documents/Arbeit l:/home/tuan/Local c:/home/tuan/Documents/CTF/picoCTF -':/home/tuan +':/home/tuan/workspace_l/Projects/Python/Scrapers/missing_dex t:/home/tuan/Templates w:/home/tuan/workspace_l/Projects k:/home/tuan/Documents/Fachschaft/Berufungskomission +q:/home/tuan/.nextcloud/Quick Drop diff --git a/zsh/.zshrc b/zsh/.zshrc index 7f04467..f6d23d6 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,7 +1,9 @@ # Paths export ZSH="/home/tuan/.oh-my-zsh" -export PATH="$PATH:$HOME/go/bin:$HOME/.local/bin:$HOME/.cargo/bin" +export PATH="$PATH:$HOME/go/bin:$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.dotnet/tools" export LEDGER_FILE="/home/tuan/Documents/Finanzen/Ledger/MyBudget.ledger" +export DOTNET_CLI_TELEMETRY_OPTOUT=1 +export DOTNET_ROOT=/opt/dotnet # Alias alias gowinbuild='GOOS=windows GOARCH=amd64 go build'