Compare commits

..

No commits in common. "rita" and "master" have entirely different histories.
rita ... master

7 changed files with 39 additions and 67 deletions

View File

@ -4,8 +4,6 @@ bindsym $mod+d exec $menu
bindsym $mod+backslash exec $window_list
# pass
bindsym $mod+p exec passmenu
# passotp
bindsym $mod+Shift+p exec otpmenu
# bluetooth devices
bindsym $mod+Shift+Mod1+m exec btmenu
@ -23,21 +21,17 @@ bindsym $mod+Mod1+i exec $chromium_isolated
bindsym $mod+Mod1+Shift+i exec $chromium_anon
bindsym $mod+m exec $mua
bindsym $mod+Mod1+f exec $files
bindsym $mod+t exec $kitty_term
bindsym $mod+Shift+t exec $kitty_term
bindsym $mod+Mod1+t exec $alacritty_term
bindsym $mod+Shift+t exec $hyper_term
bindsym $mod+Mod1+l exec $lock
bindsym $mod+Shift+b exec $chbg
bindsym $mod+c exec $clipboard
bindsym $mod+Shift+f exec $files
bindsym XF86AudioRaiseVolume exec volumectl raise
bindsym XF86AudioLowerVolume exec volumectl lower
bindsym XF86AudioMute exec volumectl mute
bindsym XF86AudioMicMute exec volumectl mute --mic
bindsym Ctrl+$mod+m exec volumectl mute --mic
bindsym XF86MonBrightnessUp exec lightctl raise
bindsym XF86MonBrightnessDown exec lightctl lower
bindsym XF86AudioRaiseVolume exec /home/leo/.bin/volume.sh +
bindsym XF86AudioLowerVolume exec /home/leo/.bin/volume.sh -
bindsym XF86AudioMute exec /home/leo/.bin/volume.sh m
# bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym XF86MonBrightnessUp exec brightnessctl set +5%
bindsym Print exec ~/.bin/screenshot.sh -w
bindsym Ctrl+Print exec ~/.bin/screenshot.sh -s
@ -47,8 +41,8 @@ bindsym $mod+Ctrl+c exec mpc clear
bindsym --no-repeat F12 exec gdbus call -e -d net.sourceforge.mumble.mumble -o / -m net.sourceforge.mumble.Mumble.startTalk
bindsym --release F12 exec gdbus call -e -d net.sourceforge.mumble.mumble -o / -m net.sourceforge.mumble.Mumble.stopTalk
bindsym F9 exec 'swaymsg "input type:keyboard xkb_switch_layout 1" && notify-send "Layout: US"'
bindsym F10 exec 'swaymsg "input type:keyboard xkb_switch_layout 0" && notify-send "Layout: IT"'
bindsym F9 exec swaymsg "input type:keyboard xkb_switch_layout 0"
bindsym F10 exec swaymsg "input type:keyboard xkb_switch_layout 1"
# Drag floating windows by holding down $mod and left mouse button.
@ -89,25 +83,23 @@ bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
## Workspaces:
#workspace back_and_forth yes
workspace back_and_forth yes
#bindsym $mod+tab workspace back_and_forth
bindsym $mod+tab workspace next_on_output; exec /home/leo/.bin/refresh_sov.sh
bindsym $mod+Shift+tab workspace prev_on_output; exec /home/leo/.bin/refresh_sov.sh
bindsym $mod+Mod1+Up exec "echo 1 | tee /tmp/sov.status | tee /tmp/sov.fifo"
bindsym $mod+Mod1+Down exec "echo 0 | tee /tmp/sov.status | tee /tmp/sov.fifo"
bindsym $mod+tab workspace next_on_output
bindsym $mod+Shift+tab workspace prev_on_output
# Switch to workspace
bindsym $mod+1 workspace 1; exec /home/leo/.bin/refresh_sov.sh
bindsym $mod+2 workspace 2; exec /home/leo/.bin/refresh_sov.sh
bindsym $mod+3 workspace 3; exec /home/leo/.bin/refresh_sov.sh
bindsym $mod+4 workspace 4; exec /home/leo/.bin/refresh_sov.sh
bindsym $mod+5 workspace 5; exec /home/leo/.bin/refresh_sov.sh
bindsym $mod+6 workspace 6; exec /home/leo/.bin/refresh_sov.sh
bindsym $mod+7 workspace 7; exec /home/leo/.bin/refresh_sov.sh
bindsym $mod+8 workspace 8; exec /home/leo/.bin/refresh_sov.sh
bindsym $mod+9 workspace 9; exec /home/leo/.bin/refresh_sov.sh
bindsym $mod+0 workspace 10; exec /home/leo/.bin/refresh_sov.sh
# Move focused container to workspace
# switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3

1
config
View File

@ -3,6 +3,5 @@ include ./output.conf
include ./input.conf
include ./style.conf
include ./bindings.conf
include ./services.conf
include /etc/sway/config.d/*

View File

@ -1,4 +1,4 @@
input "1739:52710:DLL0945:00_06CB:CDE6_Touchpad" {
input "2:7:SynPS/2_Synaptics_TouchPad" {
dwt enabled
tap enabled
natural_scroll enabled

View File

@ -1,8 +1,8 @@
# Single external screen plus optional open builtin screen
set $laptop eDP-1
bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable
bindswitch --locked lid:on output $laptop disable
bindswitch --locked lid:off output $laptop enable
output eDP-1 {
resolution 1920x1080
@ -15,8 +15,7 @@ output HDMI-A-2 {
position 0,0
bg /home/leo/Pictures/random.jpg fill "#0022FF"
}
output 'Samsung Electric Company C34J79x H1AK500000' {
output DP-2 {
resolution 3440x1440
bg /home/leo/Pictures/random.jpg fill "#0022FF"
}

View File

@ -1,20 +0,0 @@
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec "systemctl --user start avizo"
exec "systemctl --user start waybar@theCode-Breaker"
exec "systemctl --user start mako"
exec "systemctl --user start gammastep"
exec "systemctl --user start kanshi"
exec "systemctl --user start greenclip"
exec "systemctl --user start swaynag-battery"
exec "systemctl --user start poweralertd-user"
exec "systemctl --user import-environment; systemctl --user start sov.socket"
exec "systemctl --user import-environment; systemctl --user start swayidle"
# exec swayidle -w \
# timeout 300 '$lock' \
# timeout 305 'swaymsg "output * dpms off"' \
# timeout 5 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \
# resume 'swaymsg "output * dpms on"' \
# before-sleep '$lock'

View File

@ -1,4 +1,4 @@
# class border backgr. text indicator child_border
# class border backgr. text indicator child_border
client.focused #f5e942 #00bf16 #ffffff #f5e942 #f5e942
client.focused_inactive #5c6370 #3b3228 #ffffff #5c6370 #5c6370
client.unfocused #5c6370 #3b3228 #ffffff #5c6370 #5c6370
@ -8,4 +8,3 @@ font pango:FiraCode 10
for_window [app_id="^.*"] border pixel 2
for_window [class="^.*"] border pixel 2
gaps inner 5
seat seat0 xcursor_theme Bibata-Modern-Ice 24

View File

@ -8,16 +8,19 @@ set $term terminator
# Your preferred application launcher
set $menu rofi -show run
set $window_list rofi -show window
set $browser MOZ_ENABLE_WAYLAND=1 firefox
set $chromium_personal chromium_wlr Personal ""
set $chromium_isolated chromium_wlr Isolated ""
set $chromium_anon chromium_wlr Incognito ""
set $browser firefox
set $chromium_work chromium --use-cmd-decoder=validating --use-gl=desktop --profile-directory="Work"
set $chromium_personal chromium --use-cmd-decoder=validating --use-gl=desktop --profile-directory="DetangleRegular"
set $chromium_isolated chromium --use-cmd-decoder=validating --use-gl=desktop --profile-directory="DetangleIsolated"
set $chromium_anon chromium --use-cmd-decoder=validating --use-gl=desktop --profile-directory="Anon"
set $mua thunderbird
set $kitty_term kitty
set $alacritty_term env WINIT_UNIX_BACKEND=x11 alacritty
set $hyper_term hyper
set $files nautilus
set $lock swaylock -F -i ~/Pictures/screensaver.jpg
set $chbg ~/.bin/change-bg.sh
set $clipboard rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
set $files rofi -show filebrowser
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK