Compare commits
23 Commits
Author | SHA1 | Date |
---|---|---|
blallo | 72cd2f21a4 | |
blallo | be7858d879 | |
blallo | 17cf29ba94 | |
blallo | 6e2c8aa6b5 | |
blallo | 699fbddc3d | |
blallo | 800ba86073 | |
blallo | bac2c3b0ab | |
blallo | 7e6bce6217 | |
blallo | d2c24681a2 | |
blallo | b016f18d20 | |
blallo | afe93458a4 | |
blallo | bab9732cef | |
blallo | 972827eac0 | |
blallo | 755dc1961d | |
blallo | fb38ab5d7b | |
blallo | be4b31e31e | |
blallo | 231c64f752 | |
blallo | b5b29d05e7 | |
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,28 +23,36 @@ 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+y exec net-copy
|
||||||
|
bindsym $mod+v exec net-paste
|
||||||
|
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 %
|
||||||
# bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
bindsym XF86AudioMicMute exec volumectl mute --mic
|
||||||
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
|
bindsym Ctrl+Mod1+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 -e
|
||||||
bindsym Ctrl+Print exec ~/.bin/screenshot.sh -s
|
bindsym Ctrl+Print exec ~/.bin/screenshot.sh -s -e
|
||||||
bindsym Ctrl+Mod1+Print exec ~/.bin/screenshot.sh
|
bindsym Ctrl+Mod1+Print exec ~/.bin/screenshot.sh -S -e
|
||||||
|
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"
|
bindsym F9 exec 'swaymsg "input type:keyboard xkb_switch_layout 0" && notify-send "US layout"'
|
||||||
bindsym F10 exec swaymsg "input type:keyboard xkb_switch_layout 1"
|
bindsym F10 exec 'swaymsg "input type:keyboard xkb_switch_layout 1" && notify-send "IT layout"'
|
||||||
|
|
||||||
|
|
||||||
# Drag floating windows by holding down $mod and left mouse button.
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
|
@ -162,4 +172,8 @@ 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,5 +3,8 @@ 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,3 +315,5 @@ default_border none
|
||||||
# }
|
# }
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
||||||
|
# vim:syntax=swayconfig:
|
||||||
|
|
2
env
2
env
|
@ -3,3 +3,5 @@ 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,3 +5,5 @@ 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,3 +1,5 @@
|
||||||
_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,8 +10,16 @@ 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 "it,us"
|
input * xkb_layout "us,it"
|
||||||
input "Dell Keyboard" xkb_model "dell"
|
input "Dell Keyboard" xkb_model "dell"
|
||||||
input "Logitech Keyboard" xkb_model "logitech_base"
|
input "Logitech Keyboard" {
|
||||||
|
xkb_model "logitech_base"
|
||||||
|
xkb_numlock enabled
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:syntax=swayconfig:
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
input * xkb_layout "us"
|
||||||
|
|
||||||
|
# vim:syntax=swayconfig:
|
|
@ -0,0 +1,3 @@
|
||||||
|
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 --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,10 @@ 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:
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
output * {
|
||||||
|
resolution 3840x2160
|
||||||
|
bg /home/leo/Pictures/random.jpg fill "#0022FF"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:syntax=swayconfig:
|
|
@ -0,0 +1,6 @@
|
||||||
|
output * {
|
||||||
|
resolution 1920x1200
|
||||||
|
bg /home/leo/Pictures/random.jpg fill "#0022FF"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:syntax=swayconfig:
|
|
@ -0,0 +1,6 @@
|
||||||
|
output * {
|
||||||
|
resolution 3440x1440
|
||||||
|
bg /home/leo/Pictures/random.jpg fill "#0022FF"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:syntax=swayconfig:
|
|
@ -17,3 +17,5 @@ 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,2 +1,4 @@
|
||||||
# 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:
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
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:
|
|
@ -0,0 +1,9 @@
|
||||||
|
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:
|
|
@ -0,0 +1,21 @@
|
||||||
|
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:
|
|
@ -0,0 +1,11 @@
|
||||||
|
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:
|
|
@ -0,0 +1,14 @@
|
||||||
|
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,3 +8,5 @@ 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 firefox
|
set $browser MOZ_ENABLE_WAYLAND=1 firefox
|
||||||
set $chromium_work chromium --use-cmd-decoder=validating --use-gl=desktop --profile-directory="Work"
|
set $chromium_work ~/.bin/chromium "Work (wlr)"
|
||||||
set $chromium_personal chromium --use-cmd-decoder=validating --use-gl=desktop --profile-directory="DetangleRegular"
|
set $chromium_personal ~/.bin/chromium "Personal (wlr)"
|
||||||
set $chromium_isolated chromium --use-cmd-decoder=validating --use-gl=desktop --profile-directory="DetangleIsolated"
|
set $chromium_isolated ~/.bin/chromium "Isolated (x11)"
|
||||||
set $chromium_anon chromium --use-cmd-decoder=validating --use-gl=desktop --profile-directory="Anon"
|
set $chromium_anon ~/.bin/chromium "Incognito (wlr)"
|
||||||
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
|
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
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