aboutsummaryrefslogtreecommitdiff
path: root/config
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
parenteebb8df9d311080c92d0fbabd43e93121358f154 (diff)
downloadmyconfigs-4e92f8998c4802f218e51ce254fca41dd6954e37.tar.gz
myconfigs-4e92f8998c4802f218e51ce254fca41dd6954e37.tar.bz2
myconfigs-4e92f8998c4802f218e51ce254fca41dd6954e37.zip
Switch to Sway
Diffstat (limited to 'config')
-rw-r--r--config/alacritty.yml4
-rw-r--r--config/sway/config24
-rw-r--r--config/wofi/config5
3 files changed, 21 insertions, 12 deletions
diff --git a/config/alacritty.yml b/config/alacritty.yml
index 1deb867..046e1f5 100644
--- a/config/alacritty.yml
+++ b/config/alacritty.yml
@@ -55,8 +55,8 @@ colors:
# When set to `true`, selected text will be copied to the primary clipboard.
#save_to_clipboard: false
-mouse:
- hide_when_typing: true
+#mouse:
+# hide_when_typing: true
key_bindings:
- { key: Return, mods: Control|Shift, action: SpawnNewInstance }
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
diff --git a/config/wofi/config b/config/wofi/config
new file mode 100644
index 0000000..1520acb
--- /dev/null
+++ b/config/wofi/config
@@ -0,0 +1,5 @@
+key_up=Control_L-k
+key_down=Control_L-j
+key_left=Control_L-h
+key_right=Control_L-l
+key_expand=Control_L-o