aboutsummaryrefslogtreecommitdiff
path: root/config/sway
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-01-09 19:44:19 +0100
committerKarel Kočí <cynerd@email.cz>2022-01-09 19:44:19 +0100
commit4e92f8998c4802f218e51ce254fca41dd6954e37 (patch)
treee5282c0107908b9288ab635c3c4483895a96d4a8 /config/sway
parenteebb8df9d311080c92d0fbabd43e93121358f154 (diff)
downloadmyconfigs-4e92f8998c4802f218e51ce254fca41dd6954e37.tar.gz
myconfigs-4e92f8998c4802f218e51ce254fca41dd6954e37.tar.bz2
myconfigs-4e92f8998c4802f218e51ce254fca41dd6954e37.zip
Switch to Sway
Diffstat (limited to 'config/sway')
-rw-r--r--config/sway/config24
1 files changed, 14 insertions, 10 deletions
diff --git a/config/sway/config b/config/sway/config
index f27e89d..5ad66a7 100644
--- a/config/sway/config
+++ b/config/sway/config
@@ -3,8 +3,8 @@ exec --no-startup-id myswaylock
##################################################################################
input type:keyboard {
- xkb_layout us,cz_qwerty
- xkb_options grp:alt_space_toggle,caps:escape
+ xkb_layout 'us,cz_qwerty'
+ xkb_options 'grp:alt_shift_toggle,caps:escape'
xkb_numlock enabled
}
@@ -13,9 +13,13 @@ input type:touchpad {
}
output '*' {
- background '/usr/share/backgrounds/vim-card-black-1920x1080.png' fit
+ background '/usr/share/backgrounds/vim-card-black-2560x1440.png' fit
}
+seat * xcursor_theme Adwaita
+seat * hide_cursor 10000
+seat * hide_cursor when-typing disable
+
##################################################################################
smart_borders on
@@ -168,18 +172,21 @@ bindsym $mod+Return exec alacritty
# Start Firefox
bindsym $mod+Shift+Return exec firefox-bin
-# start dmenu (a program launcher)
-bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --entry-type=name
+# start a program
+bindsym $mod+d exec --no-startup-id wofi -S drun
+
+# Type emoji
+bindsym $mod+period exec rofimoji --skin-tone neutral
# Top
bindsym $mod+t exec alacritty -e htop
bindsym $mod+Shift+t exec alacritty -e sudo powertop
# Passwords
-bindsym $mod+Shift+w exec --no-startup-id ~/.config/i3/scripts/pass
+bindsym $mod+Shift+w exec --no-startup-id ~/.config/sway/scripts/pass
# Calendar
bindsym $mod+c exec alacritty -t "Calendar" -e ikhal
# Notes
-bindsym $mod+Shift+n exec --no-startup-id ~/.config/i3/scripts/notes
+bindsym $mod+Shift+n exec --no-startup-id ~/.config/sway/scripts/notes
for_window [ title="notes-terminal-window" ] floating enable sticky enable
# Mail client
bindsym $mod+m exec astroid
@@ -225,10 +232,7 @@ for_window [class="Florence"] floating enable
# Start daemons
exec --no-startup-id swayidle
exec --no-startup-id kanshi
-exec --no-startup-id ibus-daemon -drx
exec --no-startup-id dunst
-# Set background
-exec --no-startup-id i3background
# Start Ferdi
exec ferdi