Compare commits
23 Commits
Author | SHA1 | Date |
---|---|---|
sfigato | 72cd2f21a4 | |
sfigato | be7858d879 | |
sfigato | 17cf29ba94 | |
sfigato | 6e2c8aa6b5 | |
sfigato | 699fbddc3d | |
sfigato | 800ba86073 | |
sfigato | bac2c3b0ab | |
sfigato | 7e6bce6217 | |
sfigato | d2c24681a2 | |
sfigato | b016f18d20 | |
sfigato | afe93458a4 | |
sfigato | bab9732cef | |
sfigato | 972827eac0 | |
sfigato | 755dc1961d | |
sfigato | fb38ab5d7b | |
sfigato | be4b31e31e | |
sfigato | 231c64f752 | |
sfigato | b5b29d05e7 | |
sfigato | 5d00448a30 | |
sfigato | 619414746a | |
sfigato | fa357b04dc | |
sfigato | c43149ce55 | |
sfigato | bb30a67598 |
|
@ -4,6 +4,8 @@ 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
|
||||
|
||||
|
@ -21,28 +23,36 @@ 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+Shift+t exec $kitty_term
|
||||
bindsym $mod+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+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 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 XF86AudioRaiseVolume exec volumectl raise
|
||||
bindsym XF86AudioLowerVolume exec volumectl lower
|
||||
bindsym XF86AudioMute exec volumectl %
|
||||
bindsym XF86AudioMicMute exec volumectl mute --mic
|
||||
bindsym Ctrl+Mod1+m exec volumectl mute --mic
|
||||
bindsym XF86MonBrightnessUp exec lightctl raise
|
||||
bindsym XF86MonBrightnessDown exec lightctl lower
|
||||
|
||||
bindsym Print exec ~/.bin/screenshot.sh -w
|
||||
bindsym Ctrl+Print exec ~/.bin/screenshot.sh -s
|
||||
bindsym Ctrl+Mod1+Print exec ~/.bin/screenshot.sh
|
||||
bindsym Print exec ~/.bin/screenshot.sh -w -e
|
||||
bindsym Ctrl+Print exec ~/.bin/screenshot.sh -s -e
|
||||
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+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 --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 F10 exec swaymsg "input type:keyboard xkb_switch_layout 1"
|
||||
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" && notify-send "IT layout"'
|
||||
|
||||
|
||||
# Drag floating windows by holding down $mod and left mouse button.
|
||||
|
@ -162,4 +172,8 @@ mode "resize" {
|
|||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
bindsym $mod+Shift+r exec /home/leo/.bin/toggle_resolution_headless.sh
|
||||
|
||||
default_border none
|
||||
|
||||
# vim:syntax=swayconfig:
|
||||
|
|
3
config
3
config
|
@ -3,5 +3,8 @@ include ./output.conf
|
|||
include ./input.conf
|
||||
include ./style.conf
|
||||
include ./bindings.conf
|
||||
include ./services.conf
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
|
||||
# vim:syntax=swayconfig:
|
||||
|
|
|
@ -315,3 +315,5 @@ default_border none
|
|||
# }
|
||||
|
||||
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_QPA_PLATFORM=wayland
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||
|
||||
# vim:syntax=swayconfig:
|
||||
|
|
|
@ -5,3 +5,5 @@ QT_QPA_PLATFORM=wayland
|
|||
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||
XDG_CURRENT_DESKTOP=sway
|
||||
SWAY_STATE=debug
|
||||
|
||||
# vim:syntax=swayconfig:
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
_JAVA_AWT_WM_NONREPARENTING=1
|
||||
XDG_CURRENT_DESKTOP=sway
|
||||
SWAY_STATE=system
|
||||
|
||||
# vim:syntax=swayconfig:
|
||||
|
|
12
input.conf
12
input.conf
|
@ -10,8 +10,16 @@ input "1452:782:Apple_Wireless_Trackpad" {
|
|||
tap enabled
|
||||
natural_scroll 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 "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
|
||||
|
||||
set $laptop eDP-1
|
||||
bindswitch --locked lid:on output $laptop disable
|
||||
bindswitch --locked lid:off output $laptop enable
|
||||
bindswitch --reload --locked lid:on output $laptop disable
|
||||
bindswitch --reload --locked lid:off output $laptop enable
|
||||
|
||||
output eDP-1 {
|
||||
resolution 1920x1080
|
||||
|
@ -15,7 +15,10 @@ output HDMI-A-2 {
|
|||
position 0,0
|
||||
bg /home/leo/Pictures/random.jpg fill "#0022FF"
|
||||
}
|
||||
output DP-2 {
|
||||
|
||||
output 'Samsung Electric Company C34J79x H1AK500000' {
|
||||
resolution 3440x1440
|
||||
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
|
||||
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/)
|
||||
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 [class="^.*"] border pixel 2
|
||||
gaps inner 5
|
||||
|
||||
# vim:syntax=swayconfig:
|
||||
|
|
18
vars.conf
18
vars.conf
|
@ -8,19 +8,19 @@ set $term terminator
|
|||
# Your preferred application launcher
|
||||
set $menu rofi -show run
|
||||
set $window_list rofi -show window
|
||||
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 $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
|
||||
|
||||
|
||||
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
|
||||
# vim:syntax=swayconfig:
|
||||
|
|
|
@ -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