moving keybinds into i3

This commit is contained in:
Rachel Lambda Samuelsson 2024-10-16 23:57:18 +02:00
parent 80bc754466
commit 9909c4d5fd
2 changed files with 12 additions and 43 deletions

View File

@ -7,6 +7,14 @@
gaps outer 5px gaps outer 5px
default_border pixel 3 default_border pixel 3
bindsym Mod1+r exec --no-startup-id rofi -show drun
bindsym Mod4+p exec --no-startup-id ${extra.cpypsk}
bindsym Mod1+Prior exec --no-startup-id ${extra.eyezoom} eye
bindsym Mod1+Next exec --no-startup-id ${extra.eyezoom} default
bindsym Mod1+Home exec --no-startup-id ${extra.eyezoom} wide
bindsym Mod1+End exec --no-startup-id ${extra.eyezoom} thin
# class border backgr. text indicator child_border # class border backgr. text indicator child_border
client.focused #d79921 #d79921 #d79921 #d79921 #d79921 client.focused #d79921 #d79921 #d79921 #d79921 #d79921
client.focused_inactive #d79921 #d79921 #d79921 #d79921 #d79921 client.focused_inactive #d79921 #d79921 #d79921 #d79921 #d79921
@ -26,6 +34,8 @@
bindsym Mod4+f fullscreen toggle bindsym Mod4+f fullscreen toggle
bindsym Mod4+Enter exec --no-startup-id wezterm
set $ws1 "1" set $ws1 "1"
set $ws2 "2" set $ws2 "2"
set $ws3 "3" set $ws3 "3"
@ -35,7 +45,6 @@
set $ws7 "7" set $ws7 "7"
set $ws8 "8" set $ws8 "8"
set $ws9 "9" set $ws9 "9"
set $ws10 "10"
# switch to workspace # switch to workspace
bindsym Mod4+1 workspace number $ws1 bindsym Mod4+1 workspace number $ws1
@ -47,7 +56,6 @@
bindsym Mod4+7 workspace number $ws7 bindsym Mod4+7 workspace number $ws7
bindsym Mod4+8 workspace number $ws8 bindsym Mod4+8 workspace number $ws8
bindsym Mod4+9 workspace number $ws9 bindsym Mod4+9 workspace number $ws9
bindsym Mod4+0 workspace number $ws10
# move focused container to workspace # move focused container to workspace
bindsym Mod4+Shift+1 move container to workspace number $ws1 bindsym Mod4+Shift+1 move container to workspace number $ws1
@ -59,7 +67,6 @@
bindsym Mod4+Shift+7 move container to workspace number $ws7 bindsym Mod4+Shift+7 move container to workspace number $ws7
bindsym Mod4+Shift+8 move container to workspace number $ws8 bindsym Mod4+Shift+8 move container to workspace number $ws8
bindsym Mod4+Shift+9 move container to workspace number $ws9 bindsym Mod4+Shift+9 move container to workspace number $ws9
bindsym Mod4+Shift+0 move container to workspace number $ws10
# change focus # change focus
bindsym Mod4+h focus left bindsym Mod4+h focus left

View File

@ -4,50 +4,12 @@
enable = true; enable = true;
overrideConfig = true; overrideConfig = true;
workspace = { workspace.lookAndFeel = "org.kde.breezedark.desktop";
lookAndFeel = "org.kde.breezedark.desktop";
};
kscreenlocker = { kscreenlocker = {
appearance.wallpaper = "${extra.wall}"; appearance.wallpaper = "${extra.wall}";
}; };
hotkeys.commands."launch-terminal" = {
name = "Launch terminal";
key = "Meta+Return";
command = "wezterm";
};
hotkeys.commands."eye" = {
name = "eye zoom";
key = "Alt+PgUp";
command = "${extra.eyezoom} eye";
};
hotkeys.commands."default" = {
name = "default zoom";
key = "Alt+PgDown";
command = "${extra.eyezoom} default";
};
hotkeys.commands."thin" = {
name = "thin zoom";
key = "Alt+End";
command = "${extra.eyezoom} tiktok";
};
hotkeys.commands."wide" = {
name = "wide zoom";
key = "Alt+Home";
command = "${extra.eyezoom} wide";
};
hotkeys.commands."cpypsk" = {
name = "Launch cpypsk";
key = "Meta+p";
command = "${extra.cpypsk}";
};
fonts = { fonts = {
general = { general = {
family = "SAX2 Nerd Font"; family = "SAX2 Nerd Font";
@ -110,7 +72,7 @@
}; };
configFile."startkderc" = { configFile."startkderc" = {
"General"."systemdBoot" = false; "General"."systemdBoot" = false; # needed to use i3 in place of KWin
}; };
}; };