Update to current vesions.

sway:

- use bg from ~/Pictures/bg/bg.png
- add trackpad gestures
- add opacity for alacritty (look to alacritty section)

alacritty:

- add 0.5 opacity (only not for menu window)

waybar:

- remove abstime from current configuration (module on it's place)

zshrc:

- add alias for quickly restart network

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
Ivan Bushchik 2023-01-07 17:05:17 +03:00
parent ac79b463ca
commit e2f00a219c
No known key found for this signature in database
GPG key ID: 3E4E9C7D66E44BF7
6 changed files with 31 additions and 8 deletions

View file

@ -5,3 +5,4 @@ export ELM_ACCEL="gl"
export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1
export QT_QPA_PLATFORMTHEME=qt5ct
export XDG_CURRENT_DESKTOP=Unity

View file

@ -33,3 +33,10 @@ alias vim="nvim"
alias upgrade_dotfiles="sh $HOME/.dotfiles/tools/upgrade.sh"
alias timestamp='date -u +%FT%TZ'
alias yt-dlp-opus="yt-dlp -f 251 -x"
# AsahiLinux useful aliases
alias reload_net="sudo systemctl restart NetworkManager wpa_supplicant" # iwd"
add-zsh-hook -Uz chpwd(){ source <(tea -Eds) } #tea

View file

@ -5,6 +5,7 @@ window:
padding:
x: 5
y: 5
opacity: 0.5
scrolling:
history: 100000
multiplier: 3

View file

@ -5,10 +5,10 @@ set $up k
set $right l
set $term alacritty
for_window [app_id="^launcher$"] floating enable, sticky enable, resize set 30 ppt 60 ppt
set $menu exec $term --class=launcher -e env zsh -c "source ~/.profile && /usr/bin/sway-launcher-desktop"
set $menu exec $term --option window.opacity=1 --class=launcher -e env zsh -c "source ~/.profile && /usr/bin/sway-launcher-desktop"
set $filemgr nemo
output * bg #181924 solid_color
output * bg ~/Pictures/bg/bg.png fill
input type:keyboard {
xkb_layout us,ru
@ -136,6 +136,19 @@ bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
bindsym XF86Search exec $menu
# Trackpad gestures
bindgesture swipe:3:right workspace next
bindgesture swipe:3:left workspace prev
bindgesture swipe:4:up move up
bindgesture swipe:4:down move down
bindgesture swipe:4:left move left
bindgesture swipe:4:right move right
bindgesture pinch:4:inward exec $menu # launchpad like
# Floating
for_window [app_id="pavucontrol"] floating enable, resize 600 300, move absolute position 25ppt 25ppt
for_window [app_id="iwgtk"] floating enable, resize 300 150, move absolute position 25ppt 25ppt

View file

@ -2,14 +2,14 @@
"position": "top",
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": [],
"modules-right": ["idle_inhibitor", "cpu", "memory", "custom/loadavg", "custom/uptime", "network", "pulseaudio", "battery", "sway/language", "custom/absclock", "clock", "tray"],
"modules-right": ["tray", "idle_inhibitor", "cpu", "memory", "custom/uptime", "network", "pulseaudio", "battery", "sway/language", "clock"],
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "No idling",
"activated": "Don't idle",
"deactivated": "Idling"
}
},

View file

@ -9,15 +9,16 @@
}
window#waybar {
/*background-color: @base;*/
color: transparent;
background: transparent;
padding-left: 16px;
padding-right: 16px;
background: none;
padding-top: 0;
padding-bottom: 0;
margin-top: 8px;
border-radius: 32px;
}
#workspaces {
background: @base;
transition: none;