Added some flavor to dunst

clean_emacs
TuDatTr 2019-12-04 01:32:36 +01:00
parent cf00862daa
commit 77e03694cb
4 changed files with 15 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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'