mirror of
https://github.com/hydroxycarbamide/dotfiles.git
synced 2025-05-07 05:19:07 -04:00
Update personal config
This commit is contained in:
parent
a29790fbdd
commit
45f5f41399
9 changed files with 74 additions and 30 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"output": ["DP-1", "HDMI-A-1"],
|
||||
"layer": "bottom",
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 32,
|
||||
"modules-left": [
|
||||
|
@ -95,12 +95,12 @@
|
|||
"7": " ",
|
||||
"8": " ",
|
||||
"default": ""
|
||||
},
|
||||
"persistent-workspaces": {
|
||||
"*": 4,
|
||||
"DP-1": [1, 2, 3, 4],
|
||||
"HDMI-A-1": [5, 6, 7, 8]
|
||||
}
|
||||
// "persistent-workspaces": {
|
||||
// "*": 4,
|
||||
// "DP-1": [1, 2, 3, 4],
|
||||
// "HDMI-A-1": [5, 6, 7, 8]
|
||||
// }
|
||||
},
|
||||
"sway/workspaces#sway": {
|
||||
"current-only": false,
|
||||
|
|
18
dot_config/waybar/modules/executable_window.nu
Normal file
18
dot_config/waybar/modules/executable_window.nu
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/nu
|
||||
|
||||
let out = {
|
||||
text: "",
|
||||
tooltip: ""
|
||||
}
|
||||
|
||||
loop {
|
||||
sleep 1sec
|
||||
|
||||
let fw = niri msg -j focused-window | from json
|
||||
|
||||
print (
|
||||
$out
|
||||
| try { update text $fw.title | update tooltip $"($fw.title) | ($fw.app_id)" }
|
||||
| to json -r
|
||||
)
|
||||
}
|
15
dot_config/waybar/modules/executable_workspaces.nu
Normal file
15
dot_config/waybar/modules/executable_workspaces.nu
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/nu
|
||||
|
||||
def main [output_name] {
|
||||
loop {
|
||||
sleep 1sec
|
||||
|
||||
print (
|
||||
niri msg -j workspaces
|
||||
| from json
|
||||
| where output == $output_name
|
||||
| each {|ws| if $ws.is_active { '' } else { '' } }
|
||||
| str join " "
|
||||
)
|
||||
}
|
||||
}
|
|
@ -151,7 +151,7 @@ widget>label {
|
|||
|
||||
#taskbar button.maximized,
|
||||
#taskbar button.fullscreen {
|
||||
border-bottom: 3px solid #8aadf4;
|
||||
border-top: 3px solid #8aadf4;
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue