update things

This commit is contained in:
trimill 2023-12-14 15:07:58 -05:00
parent 464ee8593d
commit c140a38550
No known key found for this signature in database
GPG key ID: 5FCAB0BC7C851657
6 changed files with 43 additions and 8 deletions

View file

@ -6,6 +6,7 @@
<prefer> <prefer>
<family>Twemoji</family> <family>Twemoji</family>
<family>Font Awesome 6 Pro Regular</family> <family>Font Awesome 6 Pro Regular</family>
<family>Liberation Serif</family>
<family>Times New Roman</family> <family>Times New Roman</family>
<family>DejaVu Serif</family> <family>DejaVu Serif</family>
</prefer> </prefer>

View file

@ -1,4 +1,4 @@
#
# Copy this to ~/.config/sway/config and edit it to your liking. # Copy this to ~/.config/sway/config and edit it to your liking.
# #
# Read `man 5 sway` for a complete reference. # Read `man 5 sway` for a complete reference.
@ -27,7 +27,7 @@ exec --no-startup-id thunderbird
assign [app_id="thunderbird"] workspace number 9 assign [app_id="thunderbird"] workspace number 9
assign [app_id="Element"] workspace number 9 assign [app_id="Element"] workspace number 9
workspace 1 output DP-1 workspace 1 output DP-3
workspace 9 output eDP-1 workspace 9 output eDP-1
for_window [app_id="scratch_term"] move scratchpad, resize set 960 640 for_window [app_id="scratch_term"] move scratchpad, resize set 960 640
@ -48,15 +48,19 @@ exec_always {
# swaymsg -t get_outputs # swaymsg -t get_outputs
output eDP-1 resolution 3840x2400 position 2133,0 output eDP-1 resolution 3840x2400 position 2133,0
output DP-1 resolution 2560x1440 position 0,0 scale 1.2 output DP-3 resolution 2560x1440 position 0,0 scale 1.2
#output eDP-1 resolution 3840x2400 position 1920,0 #output eDP-1 resolution 3840x2400 position 1920,0
#output DP-1 resolution 1920x1080 position 0,0 #output DP-3 resolution 1920x1080 position 0,0
input "type:keyboard" { input "type:keyboard" {
xkb_layout uscustom xkb_layout uscustom
xkb_options compose:menu,caps:escape xkb_options compose:menu,caps:escape
} }
input "type:touchpad" {
tap enable
}
# Idle configuration # Idle configuration
exec swayidle -w \ exec swayidle -w \
timeout 300 'swaylock -f -c 14171d' \ timeout 300 'swaylock -f -c 14171d' \
@ -177,7 +181,7 @@ client.urgent #cc5c5c #a63a3a #ffffff #cc5c5c #a63a3a
bar swaybar_command waybar bar swaybar_command waybar
# SwayFX # SwayFX
shadows on shadows enable
shadow_blur_radius 15 shadow_blur_radius 15
shadow_color #14171dff shadow_color #14171dff
blur enable blur enable

View file

@ -9,12 +9,14 @@
"modules-right": [ "modules-right": [
"custom/cmus", "custom/cmus",
"custom/newsboat", "custom/newsboat",
"wireplumber",
"backlight",
"cpu", "cpu",
"memory", "memory",
"temperature", "temperature",
"battery", "battery",
"clock", "clock",
"tray" "tray",
], ],
"sway/workspaces": { "sway/workspaces": {
"disable-scroll": true, "disable-scroll": true,
@ -52,6 +54,15 @@
"format-warning": " {capacity}%", "format-warning": " {capacity}%",
"format-critical": " {capacity}%" "format-critical": " {capacity}%"
}, },
"wireplumber": {
"format": " {volume}",
"format-muted": " mute",
"on-click": "pavucontrol",
"ignored-sinks": ["Easy Effects Sink"]
},
"backlight": {
"format": " {percent}%"
},
"custom/cmus": { "custom/cmus": {
"return-type": "json", "return-type": "json",
"exec": "$HOME/.config/waybar/custom_cmus.lua 2> /dev/null" "exec": "$HOME/.config/waybar/custom_cmus.lua 2> /dev/null"

View file

@ -62,6 +62,7 @@ button {
#backlight, #backlight,
#network, #network,
#pulseaudio, #pulseaudio,
#wireplumber,
#custom-media, #custom-media,
#tray, #tray,
#mode, #mode,
@ -69,6 +70,7 @@ button {
#scratchpad, #scratchpad,
#custom-cmus, #custom-cmus,
#custom-newsboat, #custom-newsboat,
#custom-unixtime,
#mpd { #mpd {
padding: 0 10px; padding: 0 10px;
border-right: 1px solid #4d4754; border-right: 1px solid #4d4754;
@ -90,6 +92,17 @@ button {
margin: 0 4px; margin: 0 4px;
} }
#wireplumber {
color: #97bd5e;
}
#wireplumber.muted {
color: #cc5c5c;
}
#backlight {
color: #f0c767;
}
#battery { #battery {
color: #97bd5e; color: #97bd5e;
@ -123,6 +136,10 @@ button {
color: #de7e54; color: #de7e54;
} }
#custom-unixtime {
color: #f0c767;
}
#tray > .passive { #tray > .passive {
-gtk-icon-effect: dim; -gtk-icon-effect: dim;
} }

View file

@ -13,6 +13,10 @@ export FILE=/bin/thunar
export PAGER=/bin/less export PAGER=/bin/less
export TERMINAL=/bin/alacritty export TERMINAL=/bin/alacritty
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export GNUPGHOME="$HOME/.config/gnupg" export GNUPGHOME="$HOME/.config/gnupg"
export CARGO_HOME="$HOME/.local/share/cargo" export CARGO_HOME="$HOME/.local/share/cargo"
export RUSTUP_HOME="$HOME/.local/share/rustup" export RUSTUP_HOME="$HOME/.local/share/rustup"

2
.zshrc
View file

@ -44,8 +44,6 @@ man() {
man "$@" man "$@"
} }
[ $NOEXIT ] && alias exit="echo Exiting is disabled"
# #
# Plugins # Plugins
# #