aboutsummaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-08-13 11:51:52 +0200
committerSébastien Dailly <sebastien@chimrod.com>2021-08-13 11:51:52 +0200
commita23541914516df4d5ca02df7705f548602451b85 (patch)
tree84a51b007d8e9f021629b3c67af0367ec101b3c6 /i3
parent108b882957a50aaace887ccac91ccb6136820411 (diff)
Tengwar icons in polybar
Diffstat (limited to 'i3')
-rw-r--r--i3/.config/i3/config47
-rw-r--r--i3/.config/i3/workspaces/51:code.json6
-rwxr-xr-xi3/scripts/i3/gaps.sh2
3 files changed, 38 insertions, 17 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index e1b66c7..715300f 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -53,9 +53,9 @@ set $workspace_11 11:
set $workspace_12 12:
set $Messages 98:
set $Inkscape 99:
-set $Mail 100:
-set $Web 101:
-set $Musique 102:
+set $Mail mail:
+set $Web web:
+set $Musique Musique:
set_from_resource $black i3wm.COLOR0 #444444
@@ -190,18 +190,18 @@ bindsym XF86Calculator workspace $Musique
bindsym XF86HomePage workspace $Web
# move focused container to workspace
-bindsym $modAltkey+Shift+F1 move container to workspace $workspace_1
-bindsym $modAltkey+Shift+F2 move container to workspace $workspace_2
-bindsym $modAltkey+Shift+F3 move container to workspace $workspace_3
-bindsym $modAltkey+Shift+F4 move container to workspace $workspace_4
-bindsym $modAltkey+Shift+F5 move container to workspace $workspace_5
-bindsym $modAltkey+Shift+F6 move container to workspace $workspace_6
-bindsym $modAltkey+Shift+F7 move container to workspace $workspace_7
-bindsym $modAltkey+Shift+F8 move container to workspace $workspace_8
-bindsym $modAltkey+Shift+F9 move container to workspace $workspace_9
-bindsym $modAltkey+Shift+F10 move container to workspace $workspace_10
-bindsym $modAltkey+Shift+F11 move container to workspace $workspace_11
-bindsym $modAltkey+Shift+F12 move container to workspace $workspace_12
+bindsym $modAltkey+Shift+F1 move container to workspace number $workspace_1
+bindsym $modAltkey+Shift+F2 move container to workspace number $workspace_2
+bindsym $modAltkey+Shift+F3 move container to workspace number $workspace_3
+bindsym $modAltkey+Shift+F4 move container to workspace number $workspace_4
+bindsym $modAltkey+Shift+F5 move container to workspace number $workspace_5
+bindsym $modAltkey+Shift+F6 move container to workspace number $workspace_6
+bindsym $modAltkey+Shift+F7 move container to workspace number $workspace_7
+bindsym $modAltkey+Shift+F8 move container to workspace number $workspace_8
+bindsym $modAltkey+Shift+F9 move container to workspace number $workspace_9
+bindsym $modAltkey+Shift+F10 move container to workspace number $workspace_10
+bindsym $modAltkey+Shift+F11 move container to workspace number $workspace_11
+bindsym $modAltkey+Shift+F12 move container to workspace number $workspace_12
bindsym $mod+Shift+XF86HomePage move container to workspace $Web
bindsym $mod+Shift+XF86Mail move container to workspace $Mail
@@ -238,9 +238,23 @@ mode $mode_resize {
bindsym Return mode "default"
bindsym Escape mode "default"
}
-
bindsym $mod+o mode $mode_resize
+set $mode_move "Déplacer"
+mode $mode_move {
+ # These bindings trigger as soon as you enter the move mode
+
+ bindsym Left move left
+ bindsym Down move down
+ bindsym Up move up
+ bindsym Right move right
+
+ # back to normal: Enter or Escape
+ bindsym Return mode "default"
+ bindsym Escape mode "default"
+}
+bindsym $mod+m mode $mode_move
+
bindsym $modAltkey+Escape workspace back_and_forth
bindsym shift+$modAltkey+Escape move container to workspace back_and_forth
bindsym shift+XF86HomePage exec pcmanfm-qt
@@ -248,6 +262,7 @@ bindsym shift+XF86HomePage exec pcmanfm-qt
assign [class="Microsoft Teams"] $Messages
assign [class="Signal"] $Messages
assign [class="Inkscape"] $Inkscape
+assign [class="Gmpc"] $Musique
# Add background, with a gradient on top
exec --no-startup-id ~/scripts/i3/wallpaper.sh ~/wallpaper/current.jpg
diff --git a/i3/.config/i3/workspaces/51:code.json b/i3/.config/i3/workspaces/51:code.json
index bea0ccb..a5a81ba 100644
--- a/i3/.config/i3/workspaces/51:code.json
+++ b/i3/.config/i3/workspaces/51:code.json
@@ -52,6 +52,12 @@
"instance": "^urxvt$",
// Prevent vim to be here
"title": "^((?!vim).)*$"
+ },
+ {
+ "class": "^kitty$",
+ "instance": "kitty$",
+ // Prevent vim to be here
+ "title": "^((?!vim).)*$"
}
],
"type": "con"
diff --git a/i3/scripts/i3/gaps.sh b/i3/scripts/i3/gaps.sh
index 4e09c01..d1f1a6f 100755
--- a/i3/scripts/i3/gaps.sh
+++ b/i3/scripts/i3/gaps.sh
@@ -1,4 +1,4 @@
#!/bin/sh
-i3-msg gaps inner all set 5
+i3-msg gaps inner all set 15
i3-msg gaps outer all set 0