diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-05-23 03:08:32 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-05-23 03:08:42 -0400 |
commit | 81af0d65f744c6510e15a1d207f7ee3bb04263c6 (patch) | |
tree | c34b4d48c1daa50d138b870c6d5dcb1813d4c1c5 /i3 | |
parent | 6e4087f395690c658674e6bf1567e9639112e5da (diff) | |
download | conf-81af0d65f744c6510e15a1d207f7ee3bb04263c6.tar.gz conf-81af0d65f744c6510e15a1d207f7ee3bb04263c6.zip |
clean up i3 configuration a bit
Diffstat (limited to 'i3')
-rw-r--r-- | i3/browser-workspace.json | 4 | ||||
-rw-r--r-- | i3/config | 82 | ||||
-rw-r--r-- | i3/signal-workspace.json | 16 |
3 files changed, 30 insertions, 72 deletions
diff --git a/i3/browser-workspace.json b/i3/browser-workspace.json index d16c910..eea123a 100644 --- a/i3/browser-workspace.json +++ b/i3/browser-workspace.json @@ -2,8 +2,6 @@ "border": "pixel", "floating": "auto_off", "geometry": { - "height": 1056, - "width": 1918, "x": 0, "y": 0 }, @@ -11,7 +9,7 @@ "percent": 1, "swallows": [ { - "class": "^Firefox$" + "class": "^Firefox$" } ], "type": "con" @@ -1,71 +1,26 @@ -# i3 config file (v4) -# -# Please see http://i3wm.org/docs/userguide.html for a complete reference! +set $mod Mod4 -set $mod Mod4 - -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. -font 6x10 - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod - -# window decorations -new_window 1pixel +default_border pixel 1 +hide_edge_borders smart client.focused #aaaaaa #aaaaaa #ffffff #ffffff client.focused_inactive #000000 #000000 #ffffff #888888 client.unfocused #000000 #000000 #ffffff #888888 client.urgent #ff0000 #ff0000 #ffffff #ff0000 +floating_modifier $mod floating_minimum_size 1 x 1 floating_maximum_size -1 x -1 focus_wrapping no -# floats -for_window [class="Xmessage"] floating enable -for_window [class="qemu"] floating enable -for_window [class="Gimp"] floating enable -for_window [instance="urxvt-kuake"] floating enable -for_window [instance="urxvt-kuake"] move absolute position 0 px 0 px -for_window [class="qemu-system-x86_64"] floating enable -for_window [class="plugin-container"] floating enable -for_window [instance="explorer.exe"] floating enable -for_window [instance="winecfg.exe"] floating enable -for_window [instance="winedbg.exe"] floating enable -for_window [window_role="CallWindow"] floating enable -for_window [class="rdesktop"] floating enable -for_window [class="Steam"] floating enable -for_window [class="Dredmor-x86"] floating enable -for_window [class="Dredmor-amd64"] floating enable -for_window [class="FTL"] floating enable -for_window [class="Trine2_linux_launcher_32bit"] floating enable -for_window [class="DungeonDefenders-x86"] floating enable -for_window [class="VVVVVV_32"] floating enable -for_window [class="hl2_linux"] floating enable -for_window [class="alephone"] floating enable -for_window [class="VirtualBox"] floating enable -for_window [class="zsnes"] floating enable -for_window [class="Phoenix"] floating enable -for_window [class="gambatte"] floating enable -for_window [class="mednafen"] floating enable -for_window [class="Nestopia"] floating enable -for_window [class="runes"] floating enable -for_window [class="Fceux"] floating enable -for_window [class="Binding of Isaac: Afterbirth"] floating enable -for_window [title="ImageView"] floating enable -for_window [title="Desktop Dungeons"] floating enable -for_window [class="Pinentry"] floating enable - -# special desktops -for_window [class="Xpdf"] move window to workspace 7 -for_window [class="feh"] move window to workspace 7 - -# kill focused window +for_window [instance="urxvt-kuake"] floating enable +for_window [instance="urxvt-kuake"] sticky enable +for_window [instance="urxvt-kuake"] move absolute position 0 px 0 px + +for_window [class="Steam"] floating enable + bindsym $mod+q kill -# window manipulation bindsym $mod+h focus left bindsym $mod+j focus down bindsym $mod+k focus up @@ -84,7 +39,6 @@ bindsym $mod+f fullscreen bindsym $mod+Shift+space floating toggle bindsym $mod+space focus mode_toggle -# workspace manipulation bindsym $mod+bracketleft exec ~/.bin/i3-switch-workspace prev bindsym $mod+bracketright exec ~/.bin/i3-switch-workspace next @@ -108,26 +62,16 @@ bindsym $mod+Shift+7 move container to workspace 7 bindsym $mod+Shift+8 move container to workspace 8 bindsym $mod+Shift+9 move container to workspace 9 -# reload the configuration file bindsym $mod+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+c restart -# exit i3 (logs you out of your X session) bindsym $mod+Shift+q 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'" -# Start i3bar to display a workspace bar (plus the system information i3status -# finds out, if available) bar { tray_output primary status_command ~/.bin/status font xft:DejaVuSansMono 10 } -exec --no-startup-id "i3-msg 'workspace 6; append_layout .i3/browser-workspace.json'" -exec --no-startup-id "i3-msg 'workspace 5; append_layout .i3/terminal-workspace.json'" - -exec --no-startup-id alacritty -exec --no-startup-id alacritty -exec --no-startup-id alacritty -exec --no-startup-id alacritty -exec --no-startup-id alacritty +exec --no-startup-id "i3-msg 'workspace 6; append_layout .i3/browser-workspace.json; exec firefox'" +exec --no-startup-id "i3-msg 'workspace 7; append_layout .i3/signal-workspace.json; exec signal-desktop'" +exec --no-startup-id "i3-msg 'workspace 5; append_layout .i3/terminal-workspace.json; exec alacritty; exec alacritty; exec alacritty; exec alacritty; exec alacritty'" diff --git a/i3/signal-workspace.json b/i3/signal-workspace.json new file mode 100644 index 0000000..acac998 --- /dev/null +++ b/i3/signal-workspace.json @@ -0,0 +1,16 @@ +{ + "border": "pixel", + "floating": "auto_off", + "geometry": { + "x": 0, + "y": 0 + }, + "name": "Signal", + "percent": 1, + "swallows": [ + { + "class": "^Signal$" + } + ], + "type": "con" +} |