Compare commits
20 Commits
Author | SHA1 | Date |
---|---|---|
blallo | 46a8c81e3f | |
blallo | b75c923d67 | |
blallo | 050d479353 | |
blallo | 4ecb47cf9a | |
blallo | d7f199da36 | |
blallo | a86c34b13d | |
blallo | 352b4d6039 | |
blallo | fa44f2ac00 | |
blallo | 184c8a97c6 | |
blallo | fd80ca00b6 | |
blallo | e5d74bb252 | |
blallo | 342536fd38 | |
blallo | 70ba7db4eb | |
blallo | b5b29d05e7 | |
blallo | 65324f72d0 | |
blallo | 5d00448a30 | |
blallo | 619414746a | |
blallo | fa357b04dc | |
blallo | c43149ce55 | |
blallo | bb30a67598 |
|
@ -4,6 +4,8 @@ bindsym $mod+d exec $menu
|
||||||
bindsym $mod+backslash exec $window_list
|
bindsym $mod+backslash exec $window_list
|
||||||
# pass
|
# pass
|
||||||
bindsym $mod+p exec passmenu
|
bindsym $mod+p exec passmenu
|
||||||
|
# passotp
|
||||||
|
bindsym $mod+Shift+p exec otpmenu
|
||||||
# bluetooth devices
|
# bluetooth devices
|
||||||
bindsym $mod+Shift+Mod1+m exec btmenu
|
bindsym $mod+Shift+Mod1+m exec btmenu
|
||||||
|
|
||||||
|
@ -21,17 +23,21 @@ bindsym $mod+Mod1+i exec $chromium_isolated
|
||||||
bindsym $mod+Mod1+Shift+i exec $chromium_anon
|
bindsym $mod+Mod1+Shift+i exec $chromium_anon
|
||||||
bindsym $mod+m exec $mua
|
bindsym $mod+m exec $mua
|
||||||
bindsym $mod+Mod1+f exec $files
|
bindsym $mod+Mod1+f exec $files
|
||||||
bindsym $mod+Shift+t exec $kitty_term
|
bindsym $mod+t exec $kitty_term
|
||||||
bindsym $mod+Mod1+t exec $alacritty_term
|
bindsym $mod+Mod1+t exec $alacritty_term
|
||||||
|
bindsym $mod+Shift+t exec $hyper_term
|
||||||
bindsym $mod+Mod1+l exec $lock
|
bindsym $mod+Mod1+l exec $lock
|
||||||
bindsym $mod+Shift+b exec $chbg
|
bindsym $mod+Shift+b exec $chbg
|
||||||
|
bindsym $mod+c exec $clipboard
|
||||||
|
bindsym $mod+Shift+f exec $files
|
||||||
|
|
||||||
bindsym XF86AudioRaiseVolume exec /home/leo/.bin/volume.sh +
|
bindsym XF86AudioRaiseVolume exec volumectl raise
|
||||||
bindsym XF86AudioLowerVolume exec /home/leo/.bin/volume.sh -
|
bindsym XF86AudioLowerVolume exec volumectl lower
|
||||||
bindsym XF86AudioMute exec /home/leo/.bin/volume.sh m
|
bindsym XF86AudioMute exec volumectl mute
|
||||||
# bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
bindsym XF86AudioMicMute exec volumectl mute --mic
|
||||||
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
|
bindsym Ctrl+$mod+m exec volumectl mute --mic
|
||||||
bindsym XF86MonBrightnessUp exec brightnessctl set +5%
|
bindsym XF86MonBrightnessUp exec lightctl raise
|
||||||
|
bindsym XF86MonBrightnessDown exec lightctl lower
|
||||||
|
|
||||||
bindsym Print exec ~/.bin/screenshot.sh -w
|
bindsym Print exec ~/.bin/screenshot.sh -w
|
||||||
bindsym Ctrl+Print exec ~/.bin/screenshot.sh -s
|
bindsym Ctrl+Print exec ~/.bin/screenshot.sh -s
|
||||||
|
@ -41,8 +47,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 --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 --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 0"
|
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 1"
|
bindsym F10 exec 'swaymsg "input type:keyboard xkb_switch_layout 0" && notify-send "Layout: IT"'
|
||||||
|
|
||||||
|
|
||||||
# Drag floating windows by holding down $mod and left mouse button.
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
|
@ -83,23 +89,25 @@ bindsym $mod+Shift+Up move up
|
||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
## Workspaces:
|
## Workspaces:
|
||||||
workspace back_and_forth yes
|
#workspace back_and_forth yes
|
||||||
#bindsym $mod+tab workspace back_and_forth
|
#bindsym $mod+tab workspace back_and_forth
|
||||||
bindsym $mod+tab workspace next_on_output
|
bindsym $mod+tab workspace next_on_output; exec /home/leo/.bin/refresh_sov.sh
|
||||||
bindsym $mod+Shift+tab workspace prev_on_output
|
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"
|
||||||
|
|
||||||
# switch to workspace
|
# Switch to workspace
|
||||||
bindsym $mod+1 workspace 1
|
bindsym $mod+1 workspace 1; exec /home/leo/.bin/refresh_sov.sh
|
||||||
bindsym $mod+2 workspace 2
|
bindsym $mod+2 workspace 2; exec /home/leo/.bin/refresh_sov.sh
|
||||||
bindsym $mod+3 workspace 3
|
bindsym $mod+3 workspace 3; exec /home/leo/.bin/refresh_sov.sh
|
||||||
bindsym $mod+4 workspace 4
|
bindsym $mod+4 workspace 4; exec /home/leo/.bin/refresh_sov.sh
|
||||||
bindsym $mod+5 workspace 5
|
bindsym $mod+5 workspace 5; exec /home/leo/.bin/refresh_sov.sh
|
||||||
bindsym $mod+6 workspace 6
|
bindsym $mod+6 workspace 6; exec /home/leo/.bin/refresh_sov.sh
|
||||||
bindsym $mod+7 workspace 7
|
bindsym $mod+7 workspace 7; exec /home/leo/.bin/refresh_sov.sh
|
||||||
bindsym $mod+8 workspace 8
|
bindsym $mod+8 workspace 8; exec /home/leo/.bin/refresh_sov.sh
|
||||||
bindsym $mod+9 workspace 9
|
bindsym $mod+9 workspace 9; exec /home/leo/.bin/refresh_sov.sh
|
||||||
bindsym $mod+0 workspace 10
|
bindsym $mod+0 workspace 10; exec /home/leo/.bin/refresh_sov.sh
|
||||||
# move focused container to workspace
|
# Move focused container to workspace
|
||||||
bindsym $mod+Shift+1 move container to workspace 1
|
bindsym $mod+Shift+1 move container to workspace 1
|
||||||
bindsym $mod+Shift+2 move container to workspace 2
|
bindsym $mod+Shift+2 move container to workspace 2
|
||||||
bindsym $mod+Shift+3 move container to workspace 3
|
bindsym $mod+Shift+3 move container to workspace 3
|
||||||
|
|
1
config
1
config
|
@ -3,5 +3,6 @@ include ./output.conf
|
||||||
include ./input.conf
|
include ./input.conf
|
||||||
include ./style.conf
|
include ./style.conf
|
||||||
include ./bindings.conf
|
include ./bindings.conf
|
||||||
|
include ./services.conf
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
input "2:7:SynPS/2_Synaptics_TouchPad" {
|
input "1739:52710:DLL0945:00_06CB:CDE6_Touchpad" {
|
||||||
dwt enabled
|
dwt enabled
|
||||||
tap enabled
|
tap enabled
|
||||||
natural_scroll enabled
|
natural_scroll enabled
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# Single external screen plus optional open builtin screen
|
# Single external screen plus optional open builtin screen
|
||||||
|
|
||||||
set $laptop eDP-1
|
set $laptop eDP-1
|
||||||
bindswitch --locked lid:on output $laptop disable
|
bindswitch --reload --locked lid:on output $laptop disable
|
||||||
bindswitch --locked lid:off output $laptop enable
|
bindswitch --reload --locked lid:off output $laptop enable
|
||||||
|
|
||||||
output eDP-1 {
|
output eDP-1 {
|
||||||
resolution 1920x1080
|
resolution 1920x1080
|
||||||
|
@ -15,7 +15,8 @@ output HDMI-A-2 {
|
||||||
position 0,0
|
position 0,0
|
||||||
bg /home/leo/Pictures/random.jpg fill "#0022FF"
|
bg /home/leo/Pictures/random.jpg fill "#0022FF"
|
||||||
}
|
}
|
||||||
output DP-2 {
|
|
||||||
|
output 'Samsung Electric Company C34J79x H1AK500000' {
|
||||||
resolution 3440x1440
|
resolution 3440x1440
|
||||||
bg /home/leo/Pictures/random.jpg fill "#0022FF"
|
bg /home/leo/Pictures/random.jpg fill "#0022FF"
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
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'
|
|
@ -8,3 +8,4 @@ font pango:FiraCode 10
|
||||||
for_window [app_id="^.*"] border pixel 2
|
for_window [app_id="^.*"] border pixel 2
|
||||||
for_window [class="^.*"] border pixel 2
|
for_window [class="^.*"] border pixel 2
|
||||||
gaps inner 5
|
gaps inner 5
|
||||||
|
seat seat0 xcursor_theme Bibata-Modern-Ice 24
|
||||||
|
|
17
vars.conf
17
vars.conf
|
@ -8,19 +8,16 @@ set $term terminator
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
set $menu rofi -show run
|
set $menu rofi -show run
|
||||||
set $window_list rofi -show window
|
set $window_list rofi -show window
|
||||||
set $browser firefox
|
set $browser MOZ_ENABLE_WAYLAND=1 firefox
|
||||||
set $chromium_work chromium --use-cmd-decoder=validating --use-gl=desktop --profile-directory="Work"
|
set $chromium_personal chromium_wlr Personal ""
|
||||||
set $chromium_personal chromium --use-cmd-decoder=validating --use-gl=desktop --profile-directory="DetangleRegular"
|
set $chromium_isolated chromium_wlr Isolated ""
|
||||||
set $chromium_isolated chromium --use-cmd-decoder=validating --use-gl=desktop --profile-directory="DetangleIsolated"
|
set $chromium_anon chromium_wlr Incognito ""
|
||||||
set $chromium_anon chromium --use-cmd-decoder=validating --use-gl=desktop --profile-directory="Anon"
|
|
||||||
set $mua thunderbird
|
set $mua thunderbird
|
||||||
set $kitty_term kitty
|
set $kitty_term kitty
|
||||||
set $alacritty_term env WINIT_UNIX_BACKEND=x11 alacritty
|
set $alacritty_term env WINIT_UNIX_BACKEND=x11 alacritty
|
||||||
|
set $hyper_term hyper
|
||||||
set $files nautilus
|
set $files nautilus
|
||||||
set $lock swaylock -F -i ~/Pictures/screensaver.jpg
|
set $lock swaylock -F -i ~/Pictures/screensaver.jpg
|
||||||
set $chbg ~/.bin/change-bg.sh
|
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
|
|
||||||
|
|
Loading…
Reference in New Issue