diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/essentials/zsh/.zshrc | 8 | ||||
| -rw-r--r-- | config/hyprland/waybar/dwl.jsonc | 74 | ||||
| -rw-r--r-- | config/hyprland/waybar/hyprland.jsonc (renamed from config/hyprland/waybar/config.jsonc) | 0 | ||||
| -rw-r--r-- | config/hyprland/waybar/schemes/base16.css | 24 | 
4 files changed, 96 insertions, 10 deletions
diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc index 993ae8a..e46cf8e 100644 --- a/config/essentials/zsh/.zshrc +++ b/config/essentials/zsh/.zshrc @@ -3,10 +3,10 @@  if [ "$(id -u)" -ne 0 ]  then  	clear -	case "${TTY#/dev/}" in -		tty1) exec startw ;; -		tty2) exec startx ;; -		tty3) exec startdwl ;; +	case "${TTY#/dev/tty}" in +		1) exec startw > /dev/null 2>&1 ;; +		2) exec startx > /dev/null 2>&1 ;; +		3) exec startdwl > /dev/null 2>&1 ;;  		*) false ;;  	esac && exit  fi diff --git a/config/hyprland/waybar/dwl.jsonc b/config/hyprland/waybar/dwl.jsonc new file mode 100644 index 0000000..9d65564 --- /dev/null +++ b/config/hyprland/waybar/dwl.jsonc @@ -0,0 +1,74 @@ +{ +	"layer": "top", +	"modules-left": ["battery", "dwl/tags", "mpd"], +	"modules-center": ["clock"], +	"modules-right": ["custom/wireguard", "network", "pulseaudio", "temperature", "cpu", "custom/memory", "custom/bluetooth", "tray"], +	"mpd": { +		"format": "{artist} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})", +		"artist-len": 24, +		"format-disconnected": "s", +		"format-stopped": "", +		"state-icons": { +			"playing": "", +			"paused": "", +		}, +		"tooltip-format": "{songPosition}/{queueLength} ({volume}%)", +		"on-click": "mpc toggle", +		"on-scroll-up": "mpc volume +5", +		"on-scroll-down": "mpc volume -5", +	}, +	"battery": { +		"format-charging": " {capacity}%", +		"on-click": "mpower", +		"interval": 10, +	}, +	"pulseaudio": { +		"scroll-step": 1, +		"format": "{icon} {volume:3}%", +		"format-icons": { +			"default": ["", "", ""] +		}, +		"on-click": "pavucontrol", +	}, +	"temperature": { +		"interval": 3, +		"format": "{icon} {temperatureC}°C", +		"format-icons": { +			"default":["", "", "", "", ""] +		}, +	}, +	"custom/wireguard": { +		"exec": "ip addr show dev wg0", +		"format": "wg0", +		"restart-interval": 3, +	}, +	"network": { +		"format-wifi": " ", +		"tooltip-format-wifi": "{ifname} {essid}", +		"format-ethernet": "", +		"tooltip-format-ethernet": "{ifname} {ipaddr}", +		"format-disconnected": "", +	}, +	"cpu": { +		"format": " {usage:2}%", +		"interval": 3, +	}, +	"custom/memory": { +		"exec": "free -h | awk '(NR==2){ print $3 }'", +		"format": "{}", +		"restart-interval": 3, +	}, +	"clock": { +		"format": "{:%R}", +		"format-alt": "{:(%T) %A %d %B}", +		"interval": 1, +	}, +	"custom/bluetooth": { +		"exec": "bluetoothctl info", +		"format": "", +		"interval": 3, +	}, +	"tray": { +		"spacing": 5, +	} +} diff --git a/config/hyprland/waybar/config.jsonc b/config/hyprland/waybar/hyprland.jsonc index cd24d14..cd24d14 100644 --- a/config/hyprland/waybar/config.jsonc +++ b/config/hyprland/waybar/hyprland.jsonc diff --git a/config/hyprland/waybar/schemes/base16.css b/config/hyprland/waybar/schemes/base16.css index 61696d0..35737b4 100644 --- a/config/hyprland/waybar/schemes/base16.css +++ b/config/hyprland/waybar/schemes/base16.css @@ -54,7 +54,7 @@ window#waybar.PCSX2 #window {  	margin-left: 3px;  } -#workspaces, #mpd, #battery,  +#workspaces, #tags, #mpd, #battery,   #clock,  #custom-wireguard, #network, #pulseaudio, #temperature, #cpu, #custom-memory, #custom-bluetooth, #tray {  	border: solid @background; @@ -73,26 +73,38 @@ window#waybar.PCSX2 #window {  	margin-right: 16px;  } -#workspaces { +#workspaces, #tags {  	border: solid @background 2px;  	background: @color3;  } -#workspaces button { +#workspaces button, #tags button {  	transition: none;  	background: transparent;  	color: @background;  } -#workspaces button.active { -	text-shadow: 0px 1px 0px @color1; +#tags button.occupied { +	background: @color2;  } -#workspaces button:hover { +#workspaces button.active, #tags button.focused { +	background-color: @color6; +	border-bottom: 6px solid @color4; + +} + +#workspaces button:hover, #tags button:hover {  	transition: none;  	color: @color8;  } +#tags button { +	margin: 0; +	padding-left: 5px; +	padding-right: 5px; +} +  #mpd {  	color: @background;  	padding: 0 16px;  | 
