update swaybar config
This commit is contained in:
parent
10b4a65b1c
commit
16335582c0
4 changed files with 19 additions and 37 deletions
|
|
@ -256,8 +256,9 @@ exec mako
|
||||||
# 2 option uses tablet events
|
# 2 option uses tablet events
|
||||||
|
|
||||||
# exec monitor-sensor | bash $DOTS/config/sway/autorotate &> /tmp/autorotate.log
|
# exec monitor-sensor | bash $DOTS/config/sway/autorotate &> /tmp/autorotate.log
|
||||||
bindswitch tablet:toggle output "eDP-1" transform 180 clockwise
|
bindswitch tablet:toggle output "eDP-1" transform 180 clockwise ; input "type:touch" map_to_output "eDP-1" ; input "type:tablet_tool" map_to_output "eDP-1"
|
||||||
# bindswitch lid:toggle exec echo "Lid moved" &>/tmp/lid.log
|
# bindswitch tablet:on busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b true
|
||||||
|
# bindswitch tablet:off busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b false
|
||||||
|
|
||||||
bindgesture swipe:left workspace prev
|
bindgesture swipe:left workspace prev
|
||||||
bindgesture swipe:right workspace next
|
bindgesture swipe:right workspace next
|
||||||
|
|
|
||||||
|
|
@ -28,13 +28,11 @@
|
||||||
"warp-on-scroll": true,
|
"warp-on-scroll": true,
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"1": "",
|
"1": "",
|
||||||
"2": "",
|
"2": "",
|
||||||
"3": "",
|
"3": "",
|
||||||
"4": "",
|
"9": "",
|
||||||
"5": "",
|
"10": "",
|
||||||
"urgent": "",
|
|
||||||
"focused": "",
|
|
||||||
"default": ""
|
"default": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -86,8 +84,8 @@
|
||||||
"idle_inhibitor": {
|
"idle_inhibitor": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"activated": "",
|
"activated": "",
|
||||||
"deactivated": ""
|
"deactivated": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
|
|
@ -96,13 +94,14 @@
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
// "timezone": "America/New_York",
|
// "timezone": "America/New_York",
|
||||||
|
"format": "{:%I:%M}",
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
"format-alt": "{:%Y-%m-%d}"
|
"format-alt": "{:%Y-%m-%d}"
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"format": "{usage}% ",
|
"format": "{usage}% ",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"format": "{}% "
|
"format": "{}% "
|
||||||
},
|
},
|
||||||
|
|
@ -126,16 +125,13 @@
|
||||||
"critical": 15
|
"critical": 15
|
||||||
},
|
},
|
||||||
"format": "{capacity}% {icon}",
|
"format": "{capacity}% {icon}",
|
||||||
"format-charging": "{capacity}% ",
|
"format-charging": "{capacity}% ",
|
||||||
"format-plugged": "{capacity}% ",
|
"format-plugged": "{capacity}% ",
|
||||||
"format-alt": "{time} {icon}",
|
"format-alt": "{time} {icon}",
|
||||||
// "format-good": "", // An empty format will hide the module
|
// "format-good": "", // An empty format will hide the module
|
||||||
// "format-full": "",
|
// "format-full": "",
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": ["", "", "", "", ""]
|
||||||
},
|
},
|
||||||
"battery#bat2": {
|
|
||||||
"bat": "BAT2"
|
|
||||||
},
|
|
||||||
"network": {
|
"network": {
|
||||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@ box.modules-right {
|
||||||
#custom-pacman,
|
#custom-pacman,
|
||||||
#custom-scratchpad-indicator {
|
#custom-scratchpad-indicator {
|
||||||
padding: 0 0.6rem;
|
padding: 0 0.6rem;
|
||||||
|
background-color: @red;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Bar */
|
/* Bar */
|
||||||
|
|
@ -118,6 +119,7 @@ tooltip label {
|
||||||
/* battery */
|
/* battery */
|
||||||
#battery {
|
#battery {
|
||||||
color: @mauve;
|
color: @mauve;
|
||||||
|
padding-right: 1.15rem;
|
||||||
}
|
}
|
||||||
#battery.full {
|
#battery.full {
|
||||||
color: @green;
|
color: @green;
|
||||||
|
|
@ -135,27 +137,6 @@ tooltip label {
|
||||||
color: @red;
|
color: @red;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* mpd */
|
|
||||||
#mpd.paused {
|
|
||||||
color: @pink;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
#mpd.stopped {
|
|
||||||
color: @rosewater;
|
|
||||||
/* background: transparent; */
|
|
||||||
}
|
|
||||||
#mpd {
|
|
||||||
color: @lavender;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Extra */
|
|
||||||
#custom-cava-internal {
|
|
||||||
color: @peach;
|
|
||||||
padding-right: 1rem;
|
|
||||||
}
|
|
||||||
#custom-launcher {
|
|
||||||
color: @yellow;
|
|
||||||
}
|
|
||||||
#memory {
|
#memory {
|
||||||
color: @peach;
|
color: @peach;
|
||||||
}
|
}
|
||||||
|
|
@ -167,6 +148,7 @@ tooltip label {
|
||||||
}
|
}
|
||||||
#idle_inhibitor {
|
#idle_inhibitor {
|
||||||
color: @green;
|
color: @green;
|
||||||
|
padding-right: 0.9rem;
|
||||||
}
|
}
|
||||||
#temperature {
|
#temperature {
|
||||||
color: @sapphire;
|
color: @sapphire;
|
||||||
|
|
|
||||||
|
|
@ -166,6 +166,9 @@
|
||||||
celluloid
|
celluloid
|
||||||
swappy
|
swappy
|
||||||
signal-desktop
|
signal-desktop
|
||||||
|
squeekboard
|
||||||
|
python3
|
||||||
|
nodePackages.pnpm
|
||||||
(callPackage ./theme.nix { }).sddm-catppucin-theme
|
(callPackage ./theme.nix { }).sddm-catppucin-theme
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue