diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index f5bccca..258c0b5 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -52,7 +52,7 @@ font-0 = "JetBrainsMonoNL Nerd Font Mono:pixelsize=12;2" modules-left = bspwm xwindow modules-center = date -modules-right = music filesystem memory cpu wlan +modules-right = music filesystem memory cpu wlan powermenu cursor-click = pointer cursor-scroll = ns-resize @@ -93,7 +93,7 @@ font-0 = "JetBrainsMonoNL Nerd Font Mono:pixelsize=12;2" modules-left = bspwm xwindow modules-center = date -modules-right = music filesystem memory cpu wlan +modules-right = music filesystem memory cpu wlan powermenu cursor-click = pointer cursor-scroll = ns-resize @@ -129,7 +129,6 @@ label-urgent = " %name% " label-dimmed = " %name% " label-dimmed-foreground = ${colors.foreground} -label-dimmed-underline = ${bar/top.background} label-dimmed-focused = " %name% " label-dimmed-focused-background = ${colors.secondary} @@ -252,6 +251,11 @@ date-alt = %Y-%m-%d %H:%M:%S label = %date% label-foreground = ${colors.primary} +[module/powermenu] +type = custom/text +content = ⏻ +click-left = rofi -show p -modi p:'~/.config/rofi/scripts/rofi-power-menu --symbols-font "JetBrainsMonoNL Nerd Font Mono"' -font "JetBrainsMonoNL Nerd Font Mono" -monitor -5 + [settings] screenchange-reload = true pseudo-transparency = true diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index a43ab5c..24fe3b3 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -17,6 +17,7 @@ super + v # power menu super + p rofi -show p -modi p:'~/.config/rofi/scripts/rofi-power-menu --symbols-font "JetBrainsMonoNL Nerd Font Mono"' -font "JetBrainsMonoNL Nerd Font Mono" -monitor -1 + # print screen Print path="$HOME/pictures/screenshots/$(date +"%s - %Y-%m-%d")" && maim "$path" && xclip -selection clipboard -t image/png "$path"