summaryrefslogtreecommitdiff
path: root/.config/i3
diff options
context:
space:
mode:
authoradamstuck <adam.moloney.stuck@gmail.com>2021-08-04 19:54:51 +0200
committeradamstuck <adam.moloney.stuck@gmail.com>2021-08-04 19:54:51 +0200
commitc2effb6878987003ae9cf2a1aa81a1e71ecc18e1 (patch)
tree0d118eda466e45b49dcebbfd72e83748e032d7d5 /.config/i3
parenta8a76521aee42118757af4e5723442441f460928 (diff)
i3 config cleanup and added pcmanfm keykind
Diffstat (limited to '.config/i3')
-rw-r--r--.config/i3/config23
1 files changed, 9 insertions, 14 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 7bb8367..aeb8fb8 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -1,16 +1,15 @@
set $mod Mod4
-
-# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
-# start a terminal
-bindsym $mod+Return exec alacritty
+# i3 reload cfg / restart i3 / exit i3
+bindsym $mod+Shift+c reload
+bindsym $mod+Shift+r restart
+bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
+bindsym $mod+Shift+q kill
-# start firefox
+bindsym $mod+Return exec alacritty
bindsym $mod+b exec firefox
-
-# kill focused window
-bindsym $mod+Shift+q kill
+bindsym $mod+e exec pcmanfm
# rofi/drun
bindsym $mod+d exec rofi -show drun
@@ -18,6 +17,8 @@ bindsym $mod+Shift+space exec rofi -show run
bindsym $mod+Ctrl+space exec rofi -show window
bindsym $mod+Mod1+b exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
+# kill focused window
+
# change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
@@ -86,10 +87,6 @@ bindsym $mod+Shift+8 move container to workspace number $ws8
bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+Shift+0 move container to workspace number $ws10
-# i3 reload cfg / restart i3 / exit i3
-bindsym $mod+Shift+c reload
-bindsym $mod+Shift+r restart
-bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
mode "Resize Mode" {
bindsym h resize shrink width 6 px or 6 ppt
@@ -133,8 +130,6 @@ hide_edge_borders smart
popup_during_fullscreen smart
focus_follows_mouse no
-# Font for window titles. Will also be used by the bar unless a different font
-# is used in the bar {} block below.
font pango:monospace 6