mirror of
https://gitlab.com/linuxstuff/dotfiles.git
synced 2026-03-25 07:22:54 +01:00
added screenlayouts menu
This commit is contained in:
@@ -11,7 +11,7 @@ line-size = 1
|
||||
module-margin-left = 1
|
||||
module-margin-right = 1
|
||||
padding= 2
|
||||
separator =|
|
||||
separator =""
|
||||
override-redirect = true
|
||||
|
||||
[bar/base_border]
|
||||
@@ -31,7 +31,7 @@ offset-y = 8px
|
||||
override-redirect = true
|
||||
tray-detached = true
|
||||
tray-maxsize = 15
|
||||
tray-offset-x= 86
|
||||
tray-offset-x= 136
|
||||
tray-offset-y =0px
|
||||
tray-padding = 3
|
||||
tray-position = left
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
inherit="bar/base_floating"
|
||||
monitor = ${env:MONITOR:DP-4}
|
||||
modules-center = clock playerctl_long
|
||||
modules-left = floating_popup_button pavucontrol_button_sep
|
||||
modules-right = sensors_cpu_pc nvgpu memory
|
||||
modules-left = floating_popup_button sep pavucontrol_button screenlayout_button sep
|
||||
modules-right = sensors_cpu_pc sep nvgpu sep memory
|
||||
|
||||
[bar/floating_cava]
|
||||
inherit = "bar/floating"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[module/separator]
|
||||
type = custom/text
|
||||
content = |
|
||||
content =|
|
||||
|
||||
[module/sep]
|
||||
inherit = "module/separator"
|
||||
@@ -10,11 +10,11 @@ inherit = "module/separator"
|
||||
[module/floating_popup_button]
|
||||
type = custom/script
|
||||
interval = 0.5
|
||||
format = <label>
|
||||
format =<label>
|
||||
label-maxlen = 5
|
||||
exec = ~/.config/polybar/scripts/polypopup.sh
|
||||
click-left = ~/.config/polybar/scripts/polypopup.sh --toggle
|
||||
content =
|
||||
content =
|
||||
|
||||
; Module Date
|
||||
|
||||
@@ -66,7 +66,7 @@ format = <label> |
|
||||
[module/nvgpu]
|
||||
type = custom/script
|
||||
interval = 2
|
||||
format = <label>
|
||||
format = <label>
|
||||
label-maxlen=15
|
||||
label-ellipsis=true
|
||||
exec = "echo $((nvidia-smi -q | grep "Gpu" | awk -F':' '{print $2}' | tr -d ' '; echo ", "; nvidia-smi -q | grep "GPU Current Temp" | awk -F':' '{print $2}' | tr -d ' C' ; echo '°') | cat | tr -d '\n')"
|
||||
@@ -191,14 +191,24 @@ menu-0-2-exec = "playerctl next"
|
||||
|
||||
[module/pavucontrol_button]
|
||||
type = custom/text
|
||||
content =
|
||||
content =
|
||||
click-left = "sh ~/.config/rofi/menus/launch.sh defaultsink"
|
||||
click-right = "setsid pavucontrol"
|
||||
click-middle = "bash ~/Userdata/Scripts/Launchers/restart_pulseaudio_1s.sh"
|
||||
|
||||
[module/pavucontrol_button_sep]
|
||||
inherit="module/pavucontrol_button"
|
||||
content = |
|
||||
content = |
|
||||
|
||||
[module/screenlayout_button]
|
||||
type = custom/text
|
||||
content =
|
||||
click-left = "sh ~/.config/rofi/menus/launch.sh screenlayouts"
|
||||
click-right = "setsid arandr"
|
||||
|
||||
[module/screenlayout_button_sep]
|
||||
inherit="module/screenlayout_button"
|
||||
content = |
|
||||
|
||||
[module/cava]
|
||||
type = custom/script
|
||||
|
||||
@@ -10,7 +10,7 @@ import re
|
||||
import rofi_menu
|
||||
|
||||
class Menu(rofi_menu.Menu):
|
||||
prompt = "Default output sink"
|
||||
prompt = "Display layout"
|
||||
items = []
|
||||
|
||||
def addEntries(self, entries):
|
||||
|
||||
Reference in New Issue
Block a user