Compare commits
No commits in common. "ada" and "master" have entirely different histories.
|
@ -4,8 +4,6 @@ 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
|
||||||
|
|
||||||
|
@ -23,36 +21,28 @@ 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+t exec $kitty_term
|
bindsym $mod+Shift+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+y exec net-copy
|
|
||||||
bindsym $mod+v exec net-paste
|
|
||||||
bindsym $mod+Shift+f exec $files
|
|
||||||
|
|
||||||
bindsym XF86AudioRaiseVolume exec volumectl raise
|
bindsym XF86AudioRaiseVolume exec /home/leo/.bin/volume.sh +
|
||||||
bindsym XF86AudioLowerVolume exec volumectl lower
|
bindsym XF86AudioLowerVolume exec /home/leo/.bin/volume.sh -
|
||||||
bindsym XF86AudioMute exec volumectl %
|
bindsym XF86AudioMute exec /home/leo/.bin/volume.sh m
|
||||||
bindsym XF86AudioMicMute exec volumectl mute --mic
|
# bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||||
bindsym Ctrl+Mod1+m exec volumectl mute --mic
|
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
|
||||||
bindsym XF86MonBrightnessUp exec lightctl raise
|
bindsym XF86MonBrightnessUp exec brightnessctl set +5%
|
||||||
bindsym XF86MonBrightnessDown exec lightctl lower
|
|
||||||
|
|
||||||
bindsym Print exec ~/.bin/screenshot.sh -w -e
|
bindsym Print exec ~/.bin/screenshot.sh -w
|
||||||
bindsym Ctrl+Print exec ~/.bin/screenshot.sh -s -e
|
bindsym Ctrl+Print exec ~/.bin/screenshot.sh -s
|
||||||
bindsym Ctrl+Mod1+Print exec ~/.bin/screenshot.sh -S -e
|
bindsym Ctrl+Mod1+Print exec ~/.bin/screenshot.sh
|
||||||
bindsym Ctrl+Shift+p exec ~/.bin/screenshot.sh -w -e
|
|
||||||
bindsym $mod+Ctrl+p exec mpc toggle
|
bindsym $mod+Ctrl+p exec mpc toggle
|
||||||
bindsym $mod+Ctrl+c exec mpc clear
|
bindsym $mod+Ctrl+c exec mpc clear
|
||||||
bindsym $mod+Ctrl+k exec 'pkill Xephyr && notify-send "Adam" "Killed"'
|
|
||||||
|
|
||||||
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" && notify-send "US layout"'
|
bindsym F9 exec swaymsg "input type:keyboard xkb_switch_layout 0"
|
||||||
bindsym F10 exec 'swaymsg "input type:keyboard xkb_switch_layout 1" && notify-send "IT layout"'
|
bindsym F10 exec swaymsg "input type:keyboard xkb_switch_layout 1"
|
||||||
|
|
||||||
|
|
||||||
# Drag floating windows by holding down $mod and left mouse button.
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
|
@ -172,8 +162,4 @@ mode "resize" {
|
||||||
}
|
}
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
bindsym $mod+Shift+r exec /home/leo/.bin/toggle_resolution_headless.sh
|
|
||||||
|
|
||||||
default_border none
|
default_border none
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
||||||
|
|
3
config
3
config
|
@ -3,8 +3,5 @@ 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/*
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
||||||
|
|
|
@ -315,5 +315,3 @@ default_border none
|
||||||
# }
|
# }
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
||||||
|
|
2
env
2
env
|
@ -3,5 +3,3 @@ QT_SCALE_FACTOR=1
|
||||||
QT_AUTO_SCREEN_SCALE_FACTOR=0
|
QT_AUTO_SCREEN_SCALE_FACTOR=0
|
||||||
QT_QPA_PLATFORM=wayland
|
QT_QPA_PLATFORM=wayland
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
||||||
|
|
|
@ -5,5 +5,3 @@ QT_QPA_PLATFORM=wayland
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||||
XDG_CURRENT_DESKTOP=sway
|
XDG_CURRENT_DESKTOP=sway
|
||||||
SWAY_STATE=debug
|
SWAY_STATE=debug
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
_JAVA_AWT_WM_NONREPARENTING=1
|
_JAVA_AWT_WM_NONREPARENTING=1
|
||||||
XDG_CURRENT_DESKTOP=sway
|
XDG_CURRENT_DESKTOP=sway
|
||||||
SWAY_STATE=system
|
SWAY_STATE=system
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
||||||
|
|
12
input.conf
12
input.conf
|
@ -10,16 +10,8 @@ input "1452:782:Apple_Wireless_Trackpad" {
|
||||||
tap enabled
|
tap enabled
|
||||||
natural_scroll enabled
|
natural_scroll enabled
|
||||||
middle_emulation enabled
|
middle_emulation enabled
|
||||||
accel_profile adaptive
|
|
||||||
drag enabled
|
|
||||||
scroll_factor 2
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input * xkb_layout "us,it"
|
input * xkb_layout "it,us"
|
||||||
input "Dell Keyboard" xkb_model "dell"
|
input "Dell Keyboard" xkb_model "dell"
|
||||||
input "Logitech Keyboard" {
|
input "Logitech Keyboard" xkb_model "logitech_base"
|
||||||
xkb_model "logitech_base"
|
|
||||||
xkb_numlock enabled
|
|
||||||
}
|
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
input * xkb_layout "us"
|
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
|
@ -1,3 +0,0 @@
|
||||||
input * xkb_layout "us,it"
|
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
|
@ -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 --reload --locked lid:on output $laptop disable
|
bindswitch --locked lid:on output $laptop disable
|
||||||
bindswitch --reload --locked lid:off output $laptop enable
|
bindswitch --locked lid:off output $laptop enable
|
||||||
|
|
||||||
output eDP-1 {
|
output eDP-1 {
|
||||||
resolution 1920x1080
|
resolution 1920x1080
|
||||||
|
@ -15,10 +15,7 @@ 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"
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
output * {
|
|
||||||
resolution 3840x2160
|
|
||||||
bg /home/leo/Pictures/random.jpg fill "#0022FF"
|
|
||||||
}
|
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
|
@ -1,6 +0,0 @@
|
||||||
output * {
|
|
||||||
resolution 1920x1200
|
|
||||||
bg /home/leo/Pictures/random.jpg fill "#0022FF"
|
|
||||||
}
|
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
|
@ -1,6 +0,0 @@
|
||||||
output * {
|
|
||||||
resolution 3440x1440
|
|
||||||
bg /home/leo/Pictures/random.jpg fill "#0022FF"
|
|
||||||
}
|
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
|
@ -17,5 +17,3 @@ output DP-1 {
|
||||||
position 0,0
|
position 0,0
|
||||||
bg /home/leo/Pictures/wallpapers/portal_l.jpg fill "#FF2200"
|
bg /home/leo/Pictures/wallpapers/portal_l.jpg fill "#FF2200"
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
||||||
|
|
|
@ -1,4 +1,2 @@
|
||||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||||
output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
||||||
|
|
8
piped
8
piped
|
@ -1,8 +0,0 @@
|
||||||
include ./vars.piped.conf
|
|
||||||
include ./output.piped.conf
|
|
||||||
include ./input.piped.conf
|
|
||||||
include ./style.conf
|
|
||||||
include ./bindings.conf
|
|
||||||
include ./services.piped.conf
|
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
9
remote
9
remote
|
@ -1,9 +0,0 @@
|
||||||
include ./vars.remote.conf
|
|
||||||
include ./output.remote.conf
|
|
||||||
#include ./output.remote-laptop.conf
|
|
||||||
include ./input.remote.conf
|
|
||||||
include ./style.conf
|
|
||||||
include ./bindings.conf
|
|
||||||
include ./services.remote.conf
|
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
|
@ -1,21 +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 cbatticon"
|
|
||||||
exec "systemctl --user start avizo"
|
|
||||||
exec "systemctl --user start waybar@begs-big"
|
|
||||||
exec "systemctl --user start mako"
|
|
||||||
exec "systemctl --user start gammastep"
|
|
||||||
exec "systemctl --user start kanshi"
|
|
||||||
exec "systemctl --user start greenclip"
|
|
||||||
exec "systemctl --user start poweralertd-user"
|
|
||||||
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'
|
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
|
@ -1,11 +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@begs-big"
|
|
||||||
exec "systemctl --user start mako"
|
|
||||||
exec "systemctl --user start poweralertd-user"
|
|
||||||
exec "systemctl --user import-environment"
|
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
|
@ -1,14 +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@begs-big"
|
|
||||||
exec "systemctl --user start mako"
|
|
||||||
exec "systemctl --user start gammastep"
|
|
||||||
exec "systemctl --user start greenclip"
|
|
||||||
exec "systemctl --user start wayvnc@5900"
|
|
||||||
exec "systemctl --user start poweralertd-user"
|
|
||||||
exec "systemctl --user import-environment"
|
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
|
@ -8,5 +8,3 @@ 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
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
||||||
|
|
18
vars.conf
18
vars.conf
|
@ -8,19 +8,19 @@ 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 MOZ_ENABLE_WAYLAND=1 firefox
|
set $browser firefox
|
||||||
set $chromium_work ~/.bin/chromium "Work (wlr)"
|
set $chromium_work chromium --use-cmd-decoder=validating --use-gl=desktop --profile-directory="Work"
|
||||||
set $chromium_personal ~/.bin/chromium "Personal (wlr)"
|
set $chromium_personal chromium --use-cmd-decoder=validating --use-gl=desktop --profile-directory="DetangleRegular"
|
||||||
set $chromium_isolated ~/.bin/chromium "Isolated (x11)"
|
set $chromium_isolated chromium --use-cmd-decoder=validating --use-gl=desktop --profile-directory="DetangleIsolated"
|
||||||
set $chromium_anon ~/.bin/chromium "Incognito (wlr)"
|
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
|
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
||||||
|
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
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
set $mod Mod5
|
|
||||||
set $left h
|
|
||||||
set $down j
|
|
||||||
set $up k
|
|
||||||
set $right l
|
|
||||||
# Your preferred terminal emulator
|
|
||||||
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_work ~/.bin/chromium "Work (wlr)"
|
|
||||||
set $chromium_personal ~/.bin/chromium "Personal (wlr)"
|
|
||||||
set $chromium_isolated ~/.bin/chromium "Isolated (x11)"
|
|
||||||
set $chromium_anon ~/.bin/chromium "Incognito (wlr)"
|
|
||||||
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
|
|
||||||
|
|
||||||
# vim:syntax=swayconfig:
|
|
Loading…
Reference in New Issue
Block a user