did a little something
This commit is contained in:
parent
93bf68f337
commit
7a903c6f69
10
config
10
config
@ -13,9 +13,10 @@
|
||||
],
|
||||
|
||||
"modules-center": [
|
||||
"clock",
|
||||
"idle_inhibitor",
|
||||
"clock",
|
||||
"custom/weather",
|
||||
"custom/rotate",
|
||||
],
|
||||
|
||||
"modules-right": [
|
||||
@ -73,7 +74,12 @@
|
||||
"warning": 70,
|
||||
"critical": 90,
|
||||
},
|
||||
"on-click": "kitty -e 'htop'",
|
||||
"on-click": "xfce4-terminal -e 'htop'",
|
||||
},
|
||||
|
||||
"custom/rotate": {
|
||||
"format": " ",
|
||||
"on-click": "~/.config/waybar/scripts/rotate-second-screen.sh",
|
||||
},
|
||||
|
||||
"custom/keyboard-layout": {
|
||||
|
3
scripts/rotate-second-screen.sh
Executable file
3
scripts/rotate-second-screen.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
sway output DP-4 transform 90 clockwise
|
Loading…
x
Reference in New Issue
Block a user