feat: some stuff

This commit is contained in:
2022-03-28 14:12:36 +02:00
parent e8a2b9b3f9
commit 44e2c18c7a
12 changed files with 107 additions and 62 deletions

View File

@ -35,7 +35,12 @@ set $term kitty
set $explorer nautilus
set $mail geary
set $browser google-chrome-beta --enable-features=UseOzonePlatform --ozone-platform=wayland
set $password_mngr rofi-rbw --selector wofi --typer wtype --clipboarder wl-copy
set $bluetooth_mngr blueman-manager
set $calculator flatpak run io.github.Qalculate
set $photo_editor gtk-launch ~/.local/share/applications/photopea.desktop
# Scripts
set $config_editor ~/.config/sway/config_editor.sh
set $debug_window ~/.config/sway/debug_window.sh
set $settings gnome-control-center
@ -46,9 +51,7 @@ set $web_search $wofi_scripts/web-search.sh
set $select_window ~/.config/sway/select_window.sh
set $lock_screen ~/.config/sway/lock_screen.sh
set $select_emoji $wofi_scripts/wofi-emoji
set $password_mngr rofi-rbw --selector wofi --typer wtyper --cliboarder wl-copy
set $open_localhost $wofi_scripts/open-localhost
set $bluetooth_mngr blueman-manager
# Input configuration
input * {
@ -116,6 +119,7 @@ input "1739:24385:Synaptics_TM2438-005" {
bindsym $mod+Shift+Comma exec $config_editor
bindsym $mod+a exec $web_search
bindsym $mod+p exec $password_mngr
bindsym $mod+Shift+p exec $photo_editor
# Drag and resize floating windows with mouse right/left drag
floating_modifier $mod normal
@ -165,6 +169,7 @@ input "1739:24385:Synaptics_TM2438-005" {
#
for_window [class="zoom"] floating enable
for_window [app_id="gnome-calculator"] floating enable
for_window [app_id="qalculate-gtk"] floating enable
for_window [title="Zoom Meeting.*"] floating disable
for_window [title="Zoom Meeting.*"] inhibit_idle visible
@ -247,7 +252,8 @@ input "1739:24385:Synaptics_TM2438-005" {
bindsym $mod+i exec $select_emoji
bindsym $mod+Shift+i exec $debug_window
bindsym $mod+o exec $open_localhost
bindsym $mod+c exec $lock_screen
bindsym $mod+Control+l exec $lock_screen
bindsym $mod+c exec $calculator
bindsym Alt+Tab exec $select_window
bindsym $mod+m exec $mail
#
@ -297,7 +303,8 @@ bindsym $mod+r mode "resize"
# Handles notifications
exec_always mako
exec_always pulseaudio --start
# Dimms the screen
exec_always wlsunset -l 39.47 -L -0.3821346
@ -310,4 +317,4 @@ bar {
}
include @sysconfdir@/sway/config.d/*
exec "systemctl --user import-environment SWAYSOCK WAYLAND_DISPLAY";
exec "systemctl --user import-environment SWAYSOCK XDG_CURRENT_DESKTOP WAYLAND_DISPLAY";