diff options
| author | Saumit <justsaumit@protonmail.com> | 2026-01-31 21:30:20 +0530 |
|---|---|---|
| committer | Saumit <justsaumit@protonmail.com> | 2026-01-31 21:30:20 +0530 |
| commit | 14d08e76dc3d942074b514bc0d6d5335d5e8663a (patch) | |
| tree | f3368f8e5d9c7f14c356f05e325be428c29650d6 /stow | |
| parent | 07fd93da1f2377d6fdc9e6dd59ea56db9a04bcc4 (diff) | |
stow: Add waybar and footerm
Diffstat (limited to 'stow')
| -rw-r--r-- | stow/foot/.config/foot/foot.ini | 56 | ||||
| -rw-r--r-- | stow/waybar/.config/waybar/config.jsonc | 231 | ||||
| -rw-r--r-- | stow/waybar/.config/waybar/style.css | 222 |
3 files changed, 509 insertions, 0 deletions
diff --git a/stow/foot/.config/foot/foot.ini b/stow/foot/.config/foot/foot.ini new file mode 100644 index 0000000..4d7c22c --- /dev/null +++ b/stow/foot/.config/foot/foot.ini @@ -0,0 +1,56 @@ +[main] +font=UbuntuMono Nerd Font:size=17 +title=soterm + +[key-bindings] +font-increase=Control+Shift+Page_Up +font-decrease=Control+Shift+Page_Down +scrollback-up-line=Mod1+Up +scrollback-down-line=Mod1+Down + +[search-bindings] +find-prev=Control+Shift+f + +# theme-Catppuccin(same as kitty) + +[colors] +cursor=1A1826 D9E0EE +foreground=D9E0EE +background=1E1D2F +regular0=6E6C7E # black +regular1=F28FAD # red +regular2=ABE9B3 # green +regular3=FAE3B0 # yellow +regular4=96CDFB # blue +regular5=F5C2E7 # magenta +regular6=89DCEB # cyan +regular7=D9E0EE # white +bright0=988BA2 # bright black +bright1=F28FAD # bright red +bright2=ABE9B3 # bright green +bright3=FAE3B0 # bright yellow +bright4=96CDFB # bright blue +bright5=F5C2E7 # bright magenta +bright6=89DCEB # bright cyan +bright7=D9E0EE # bright white + +#tokyonight +#[colors] +#background=1a1b26 +#foreground=c0caf5 +#regular0=15161E +#regular1=f7768e +#regular2=9ece6a +#regular3=e0af68 +#regular4=7aa2f7 +#regular5=bb9af7 +#regular6=7dcfff +#regular7=a9b1d6 +#bright0=414868 +#bright1=f7768e +#bright2=9ece6a +#bright3=e0af68 +#bright4=7aa2f7 +#bright5=bb9af7 +#bright6=7dcfff +#bright7=c0caf5 diff --git a/stow/waybar/.config/waybar/config.jsonc b/stow/waybar/.config/waybar/config.jsonc new file mode 100644 index 0000000..513c578 --- /dev/null +++ b/stow/waybar/.config/waybar/config.jsonc @@ -0,0 +1,231 @@ +{ + "layer": "top", + "position": "top", + "mod": "dock", + "height": 49, + "margin-top": 0, + "margin-bottom": 0, + "margin-left": 0, + "margin-right": 0, + "gtk-layer-shell": true, + "exclusive": true, + "passthrough": false, + "modules-left": [ + "custom/launcher", + "hyprland/workspaces", + "custom/playerctl", + "custom/playerlabel" + ], + "modules-center": [ + "hyprland/window", + "idle_inhibitor" + ], + "modules-right": [ + "cpu", + "temperature", + "custom/memory", + "pulseaudio", + "pulseaudio#microphone", + "clock", + "network", + "battery", + "backlight", + "tray", + "custom/toggle-laptop-keyboard" + ], + "hyprland/window": { + "format": "{}" + }, + // Modules configuration + "custom/launcher": { + "format": " ", + "on-click": "~/.config/waybar/scripts", + "tooltip": false + }, + "hyprland/workspaces": { + "active-only": false, + "all-outputs": true, + "disable-scroll": false, + "on-scroll-up": "hyprctl dispatch workspace -1", + "on-scroll-down": "hyprctl dispatch workspace +1", + "format": "{icon}", + "on-click": "activate", + "format-icons": { + "1": "一", + "2": "二", + "3": "三", + "4": "四", + "5": "五", + "6": "六", + "7": "七", + "8": "八", + "9": "九", + "10": "十", + "urgent": "", + "default": "", + "sort-by-number": true + } + }, + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "", + "deactivated": "" + } + }, + "custom/playerctl": { + "format": "{icon}", + "return-type": "json", + "max-length": 64, + "exec": "playerctl -p spotify metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F", + "on-click-middle": "playerctl -p spotify play-pause", + "on-click": "playerctl -p spotify previous", + "on-click-right": "playerctl -p spotify next", + "on-scroll-up": "pamixer -i 1", + "on-scroll-down": "pamixer -d 1", + "format-icons": { + "Playing": "<span foreground='#a6adc8'> </span>", + "Paused": "<span foreground='#a6adc8'> </span>" + } + }, + "custom/playerlabel": { + "format": "<span>{}</span>", + "return-type": "json", + "max-length": 48, + "exec": "playerctl -p spotify metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F", + "on-click-middle": "playerctl -p spotify play-pause", + "on-click": "playerctl -p spotify previous", + "on-click-right": "playerctl -p spotify next", + "on-scroll-up": "pamixer -i 1", + "on-scroll-down": "pamixer -d 1", + }, + "cpu": { + "interval": 5, + // "format": " {usage}% ", + "format-critical":"<span color='#c20821'><b> {usage}%</b></span>", + "format-high": "<span color='#e03c52'> {usage}%</span>", + "format-medium": "<span color='#f9e2af'> {usage}%</span>", + "format-low": "<span color='#b2beb5'> {usage}%</span>", + "tooltip": false, + "on-click": "foot --term -e htop", + "states": { + "critical": 80, + "high": 50, + "medium": 5, + "low": 0, + }, + }, + "temperature": { + "interval": 5, + "thermal-zone": 0, + "critical-threshold": 80, + "format": "{icon}{temperatureC}°C", + "format-alt": "{temperatureF}°F {icon}", + "format-critical": "{temperatureC}°C ", + "format-icons": [ + "", + "", + "" + ], + "tooltip": false, + "on-click": "foot --term xterm -e gotop" + }, + "custom/memory": { + "interval": 5, + "exec": "~/.scripts/memory", + "format": " {}", + "tooltip": false, + "on-click": "foot --term xterm -e gotop" + }, + "pulseaudio": { + "format": "{icon} {volume}%", + //"format-muted": " {format_source}", + "format-muted": "x", + "tooltip": false, + "on-click": "pamixer -t", + "on-scroll-up": "pamixer -i 1", + "on-scroll-down": "pamixer -d 1", + "scroll-step": 5, + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "default": [ + "", + "", + "" + ] + } + }, + "pulseaudio#microphone": { + "format": "{format_source}", + "format-source": " {volume}%", + //"format-source-muted": " Muted", + "format-source-muted": " ", + "on-click": "pamixer --default-source -t", + "on-scroll-up": "pamixer --default-source -i 5", + "on-scroll-down": "pamixer --default-source -d 5", + "scroll-step": 5 + }, + "clock": { + "format": " {:%I:%M %p %a,%b %e}", + //"format": " {:%I:%M %p}", + // "format": " {:%H:%M}", + "format-alt": "{:%b %e}", + "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>" + }, + "network": { + // "interface": "wlp2*", // (Optional) To force the use of this interface + "format-wifi": " {signalStrength}%", + "format-ethernet": "{ipaddr}/{cidr} ", + "tooltip-format": "DOWN :{bandwidthDownBytes} UP :{bandwidthUpBytes}", + "format-linked": "{ifname} (No IP) ", + "format-disconnected": "Disconnected ⚠", + "format-alt": "{ifname}:{essid} {ipaddr}/{cidr}" + }, + "battery": { + "states": { + "good": 95, + "warning": 30, + "critical": 20 + }, + "format": "{icon} {capacity}%", + "format-charging": " {capacity}%", + "format-plugged": " {capacity}%", + "format-alt": "{time} {icon}", + "format-icons": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + "backlight": { + "device": "intel_backlight", + "format": "{icon} {percent}%", + "format-icons": [ + " ", + " ", + " " + ], + "on-scroll-up": "brightnessctl set 1%+", + "on-scroll-down": "brightnessctl set 1%-", + "min-length": 6 + }, + "tray": { + "icon-size": 18, + "spacing": 10 + }, + "custom/toggle-laptop-keyboard": { + "format": " ", + "on-click": "~/.scripts/toggle-keyboard-hypr", + "tooltip-format": "Toggle Laptop Keyboard" + } +} diff --git a/stow/waybar/.config/waybar/style.css b/stow/waybar/.config/waybar/style.css new file mode 100644 index 0000000..4ac1b0d --- /dev/null +++ b/stow/waybar/.config/waybar/style.css @@ -0,0 +1,222 @@ +* { + border: none; + border-radius: 0px; + /*font-family: VictorMono, Iosevka Nerd Font, Noto Sans CJK;*/ + /*font-family: Iosevka, FontAwesome, Noto Sans CJK;*/ + font-family: "JetBrainsMono Nerd Font"; + font-weight: bold; + font-size: 15.8px; + min-height: 0; +} + +window#waybar { + background: rgba(21, 18, 27, 0); + color: #cdd6f4; +} + +#workspaces { + background: #282828; + margin: 5px 5px 5px 5px; + padding: 0px 5px 0px 5px; + border-radius: 16px; + border: solid 0px #f4d9e1; + font-weight: normal; + font-style: normal; +} +#workspaces button { + padding: 0px 5px; + border-radius: 16px; + color: #313244; + margin-right: 5px; +} + +#workspaces button.active { + color: #a6adc8; + background-color: transparent; + border-radius: 16px; +} + +#workspaces button:hover { + background-color: #6699CC; + color: black; + border-radius: 16px; +} +#workspaces button.focused { + color: #a6adc8; + background: #eba0ac; + border-radius: 10px; +} + +#workspaces button.urgent { + color: #11111b; + background: #a6e3a1; + border-radius: 10px; +} + +tooltip { + background: #1e1e2e; + border-radius: 10px; + border-width: 2px; + border-style: solid; + border-color: #11111b; +} + +#custom-power_profile, +#custom-launcher, +#idle-inhibitor, +#window, +#clock, +#battery, +#pulseaudio, +#cpu, +#network, +#bluetooth, +#temperature, +#custom-memory, +#workspaces, +#tray, +#custom-toggle-laptop-keyboard, +#backlight, +#custom-playerctl, +#custom-playerlabel { + background: #1e1e2e; + opacity: 0.9; + padding: 0px 10px; + margin: 3px 0px; + margin-top: 10px; + border: 1px solid #181825; +} + +#temperature { + border-radius: 0px 0px 0px 0px; +} +#temperature.critical { + color: #eba0ac; +} + +#backlight { + border-radius: 10px 10px 10px 10px; +} + +#tray { + border-radius: 10px 0px 0px 10px; +} + +#custom-toggle-laptop-keyboard{ + border-radius: 0px 10px 10px 0px; + margin-right: 2px +} + +#workspaces { + background: #1e1e2e; + border-radius: 10px; + margin-left: 10px; + padding-right: 0px; + padding-left: 5px; +} + +#custom-power_profile { + color: #a6e3a1; + border-left: 0px; + border-right: 0px; +} + +#custom-memory { + color: #ffa500; + border-radius: 0px 10px 10px 0px; + border-left: 0px; + border-right: 0px; + margin-right: 5px; +} + +#window { + border-radius: 10px; + margin-left: 60px; + margin-right: 60px; +} + +#clock { + color: #fab387; + border-radius: 10px 10px 10px 10px; + margin-right: 5px; + border-right: 0px; +} + +#cpu { + color: #f9e2af; + border-radius: 10px 0px 0px 10px; + border-left: 0px; + margin-left: 0px; + border-right: 0px; + margin-right: 0px; +} +#network { + color: #f9e2af; + border-radius: 10px 0px 0px 10px; + border-left: 0px; + border-right: 0px; +} + +#bluetooth { + color: #89b4fa; + border-radius: 0px 10px 10px 0px; + margin-right: 10px +} + +#pulseaudio { + color: #89b4fa; + border-radius: 10px 0px 0px 10px; + border-left: 0px; + border-right: 0px; +} + +#pulseaudio.microphone { + color: #cba6f7; + border-left: 0px; + border-right: 0px; + border-radius: 0px 10px 10px 0px; + margin-right: 5px; +} + +#battery { + color: #a6e3a1; + border-radius: 0px 10px 10px 0px; + margin-right: 5px; + border-left: 0px; +} + +#idle-inhibitor{ + border-radius: 10px; + border-right: 0px; + margin-left: 0px; +} + +#custom-launcher { + border-radius: 0px 10px 10px 0px; + border-right: 0px; + margin-left: 0px; +} + +#custom-playerctl { + padding-left: 15px; + padding-right: 14px; + border-radius: 16px; + /*border-left: solid 1px #282738;*/ + /*border-right: solid 1px #282738;*/ + margin-bottom: 5px; + margin-left: 0px; + font-weight: normal; + font-style: normal; + font-size: 16px; +} + +#custom-playerlabel { + padding-left: 10px; + padding-right: 15px; + border-radius: 16px; + /*border-left: solid 1px #282738;*/ + /*border-right: solid 1px #282738;*/ + margin-bottom: 5px; + font-weight: normal; + font-style: normal; +} |
