commit - 723880716e01ad35338d881d94081bb1794cc71b
commit + 04fe984ec0f43c36ef3c9b6f9b67d8c7c9c7ade4
blob - 60d8c48860576525bdaf262e6bfeb01db0a3bbd7
blob + 1a3af0fd3f4feab25e448d73fce87cf09e8cebdf
--- .gitignore
+++ .gitignore
-home/.local/share/
+home/.local/share/*
*.swp
*.swo
*.log
blob - /dev/null
blob + ee760be2e4322a9d844c9bf0ef9fc91b9cba1a32 (mode 644)
--- /dev/null
+++ .projectile
+- home/local/share/*
+- .got
blob - 6e2554248e02c3f56e8d2cde2d7dbc2065396349
blob + 4d924dcd679e719a8d277bd6833e86a09c9fc47d
--- home/.config/herbstluftwm/autostart
+++ home/.config/herbstluftwm/autostart
hc rule class=Chromium-browser tag=2
hc rule class=firefox tag=2
hc rule class=Mail tag=3
-hc rule class=Emacs instance=emacs tag=4
+hc rule class=Emacs instance=emacs tag=3
hc rule fixedsize floating=on
blob - a62a25ecec9d48d6867da2b5be8fa85fd1b939a9
blob + 2860dbf9a247d1f406052e7f0aa39e8ca993a9ca
--- home/.cwmrc
+++ home/.cwmrc
+# ~/.cwmrc
+
+fontname "Spleen:pixelsize=12"
+
+borderwidth 3
+moveamount 20
+snapdist 10
+vtile 50
+htile 50
+
+gap 24 0 0 0
+sticky yes
+
+# Colors
+color activeborder "#345F0C"
+color inactiveborder "#323232"
+color urgencyborder "#7811A1"
+color groupborder "#789161"
+color ungroupborder "#9A65B0"
+color menubg "#141414"
+color menufg "#ababab"
+color font "#ffffff"
+color selfont "#ffffff"
+
# Autogroups for windows.
-autogroup 0 xconsole,XConsole
-autogroup 0 "termbar,termbar"
-## Print Keys --
-bind-key Print "cwm_screenshot --now"
-bind-key 4-Print "cwm_screenshot --area"
-bind-key C-Print "cwm_screenshot --win"
-bind-key M-Print "cwm_screenshot --in5"
-bind-key S-Print "cwm_screenshot --in10"
+autogroup 1 "XTerm"
+autogroup 2 "Chromium-browser"
+autogroup 2 "firefox"
+autogroup 3 "Mail"
+autogroup 3 "emacs,Emacs"
-# Close current window
+# Command
+command term "xterm"
+command lock "/usr/local/bin/slock"
+command browser "firefox"
+command chromium "chromium"
+command emacs "emacs"
+command rofi-drun "rofi -show drun"
+command rofi-run "rofi -show run"
+command screenshot "/home/sp/.local/bin/screenshot-menu.sh"
+command screenshot-r "/home/sp/.local/bin/screenshot-menu.sh region"
+command screenshot-c "/home/sp/.local/bin/screenshot-menu.sh clipboard"
+command monitors "/bin/ksh /home/sp/.local/bin/dmenumon.sh"
+
+unbind-key all
+
+# Screenshots
+bind-key M-F6 "/home/sp/.local/bin/screenshot-menu.sh"
+bind-key M-F7 "/home/sp/.local/bin/screenshot-menu.sh region"
+bind-key M-F8 "/home/sp/.local/bin/screenshot-menu.sh clipboard"
+
+# Core
bind-key 4-c window-close
bind-key 4-q window-close
bind-key M-F4 window-close
+bind-key MS-r restart
+# apps
+bind-key MS-e "rofi -show run"
+bind-key MS-w "rofi -show drun"
+bind-key M-Return "xterm"
-# rofi
-bind-key M-space "rofi -show run"
-bind-key M-F2 "rofi -show drun"
-
-# Hide current window
-bind-key 4-i window-hide
-
-bind-key 4M-Return window-maximize
-bind-key 4M-f window-fullscreen
-bind-key 4M-Up window-htile
-bind-key 4M-Left window-vtile
-
-
bind-key XF86AudioLowerVolume "cwm_volume --dec"
bind-key XF86AudioRaiseVolume "cwm_volume --inc"
bind-key XF86AudioMute "cwm_volume --toggle"
bind-key XF86AudioMicMute "cwm_volume --toggle-mic"
-bind-key 4-F7 "/bin/ksh /home/sp/.local/bin/dmenumon.sh"
+bind-key 4-F7 monitor
-## Windows
-borderwidth 4
-color activeborder '#202060'
-color font '#000000'
-color selfont '#e9ffe9'
-color inactiveborder 'rgb:33/33/33'
-color menubg '#494949'
-color menufg '#202060'
-## Set the color of the border while grouping a window.
-color groupborder "#52E25F"
-### Set the color of the inactive border.
-color inactiveborder "#434853"
-## Set menu background color.
-color menubg "#2F343F"
-### Set menu foreground color.
-color menufg "#5294E2"
-## Set the color of the border of a window indicating urgency.
-color urgencyborder "#E25261"
-## Set the color of the border while ungrouping a window.
-color ungroupborder "#DA52E2"
+# Window cycling?
+bind-key M-Tab window-cycle
+bind-key MS-Tab window-rcycle
+bind-key M-c window-cycle-inclass
+bind-key M-BackSpace group-last
-## CWM Specific Functions --
-#
-# Launch window search menu.
-bind-key MC-w menu-window
-# Launch hidden window search menu.
-#bind-key MC-w menu-window-hidden
-# Launch application search menu.
-bind-key MC-a menu-cmd
-# Launch group search menu.
-bind-key MC-g menu-group
-# Launch “exec program” menu.
-bind-key MC-e menu-exec
-# Launch “exec WindowManager” menu.
-bind-key MC-e menu-exec-wm
-# Launch “ssh” menu.
-bind-key MC-s menu-ssh
+# Arrow cycling
+bind-key M-Left window-rcycle
+bind-key M-Down window-cycle
+bind-key M-Up window-rcycle
+bind-key M-Right window-cycle
-# Toggle visibility of group n, where n is 1-9.
-bind-key 4M-1 group-toggle-1
-bind-key 4M-2 group-toggle-2
-bind-key 4M-3 group-toggle-3
-bind-key 4M-4 group-toggle-4
-bind-key 4M-5 group-toggle-5
-bind-key 4M-6 group-toggle-6
-bind-key 4M-7 group-toggle-7
-bind-key 4M-8 group-toggle-8
-bind-key 4M-9 group-toggle-9
+# Move windows Shift + arrow
+bind-key MS-h window-move-left-big
+bind-key MS-j window-move-down-big
+bind-key MS-k window-move-up-big
+bind-key MS-Right window-move-right-big
+bind-key MS-Left window-move-left-big
+bind-key MS-Down window-move-down-big
+bind-key MS-Up window-move-up-big
+bind-key MS-l window-move-right-big
-# Show only group n, where n is 1-9, hiding other groups.
-bind-key CM-1 group-only-1
-bind-key CM-2 group-only-2
-bind-key CM-3 group-only-3
-bind-key CM-4 group-only-4
-bind-key CM-5 group-only-5
-bind-key CM-6 group-only-6
-bind-key CM-7 group-only-7
-bind-key CM-8 group-only-8
-bind-key CM-9 group-only-9
+# Lock
+bind-key MS-l lock
-# Show only the previously active group.
-bind-key 4S-b group-last
+# Resize windows Ctrl + Alt + arrow
+bind-key MC-Left window-resize-left-big
+bind-key MC-Down window-resize-down-big
+bind-key MC-Up window-resize-up-big
+bind-key MC-Right window-resize-right-big
-# Close all windows in group n, where n is 1-9.
-bind-key 4C-1 group-close-1
-bind-key 4C-2 group-close-2
-bind-key 4C-3 group-close-3
-bind-key 4C-4 group-close-4
-bind-key 4C-5 group-close-5
-bind-key 4C-6 group-close-6
-bind-key 4C-7 group-close-7
-bind-key 4C-8 group-close-8
-bind-key 4C-9 group-close-9
+# Tiling-like
+bind-key MC-h window-htile
+bind-key MC-v window-vtile
+bind-key M-f window-fullscreen
+bind-key M-m window-maximize
+bind-key M-v window-vmaximize
+bind-key M-h window-hmaximize
+bind-key M-r window-hide
+bind-key MS-m window-hide
+bind-key MC-m menu-window-hidden
-# Toggle visibility of all groups.
-bind-key 4S-a group-toggle-all
+# Snap
+bind-key M-i window-snap-up-left
+bind-key M-o window-snap-up-right
+bind-key M-l window-snap-down-right
+bind-key M-k window-snap-down-left
+bind-key 4M-Right window-snap-right
+bind-key 4M-Left window-snap-left
+bind-key 4M-Up window-snap-up
+bind-key 4M-Down window-snap-down
+bind-key M-period group-cycle
+bind-key M-comma group-rcycle
-# Toggle group membership of current window.
-bind-key 4S-g window-group
+# Groups
+bind-key M-1 group-only-1
+bind-key M-2 group-only-2
+bind-key M-3 group-only-3
+bind-key M-4 group-only-4
+bind-key M-5 group-only-5
+bind-key M-6 group-only-6
+bind-key M-7 group-only-7
+bind-key M-8 group-only-8
+bind-key M-9 group-only-9
-# Hide current window from display and move to group n, where n is 1-9.
-bind-key 4S-1 window-movetogroup-1
-bind-key 4S-2 window-movetogroup-2
-bind-key 4S-3 window-movetogroup-3
-bind-key 4S-4 window-movetogroup-4
-bind-key 4S-5 window-movetogroup-5
-bind-key 4S-6 window-movetogroup-6
-bind-key 4S-7 window-movetogroup-7
-bind-key 4S-8 window-movetogroup-8
-bind-key 4S-9 window-movetogroup-9
+bind-key MS-1 window-movetogroup-1
+bind-key MS-2 window-movetogroup-2
+bind-key MS-3 window-movetogroup-3
+bind-key MS-4 window-movetogroup-4
+bind-key MS-5 window-movetogroup-5
+bind-key MS-6 window-movetogroup-6
+bind-key MS-7 window-movetogroup-7
+bind-key MS-8 window-movetogroup-8
+bind-key MS-9 window-movetogroup-9
-# Forward/Reverse cycle through groups.
-bind-key MC-Right group-cycle
-bind-key MC-Left group-rcycle
+bind-key M-a group-toggle-all
+bind-key M-w menu-window
+bind-key M-e menu-cmd
+bind-key M-x menu-exec
+bind-key M-s menu-ssh
+bind-key M-q menu-exec-wm
-# Forward/Reverse cycle through windows.
-bind-key 4-Tab window-cycle
-bind-key 4S-Tab window-rcycle
-# Forward/Reverse cycle through windows in current group.
-bind-key M-Tab window-cycle-ingroup
-bind-key MS-Tab window-rcycle-ingroup
+# Mouse
+unbind-mouse all
+bind-mouse M-1 window-move
+bind-mouse M-2 window-raise
+bind-mouse M-3 window-resize
-# Close current window.
-bind-key 4-c window-close
-bind-key 4-q window-close
-bind-key M-F4 window-close
-# Hide current window.
-bind-key 4-i window-hide
-
-# Freeze current window geometry.
-bind-key 4-t window-freeze
-
-# Label current window.
-bind-key 4S-r window-menu-label
-
-# Stick current window to all groups (same as assigning to nogroup).
-bind-key 4-o window-stick
-
-# Full-screen current window (gap + border removed).
-bind-key 4-space window-fullscreen
-
-# Maximize current window (gap + border honored).
-bind-key 4S-space window-maximize
-
-# Vertically maximize current window (gap + border honored).
-bind-key MC-v window-vmaximize
-
-# Horizontally maximize current window (gap + border honored).
-bind-key MC-h window-hmaximize
-
-# Current window is placed at the top of the screen, maximized horizontally
-# and resized to htile (default half) of the vertical screen space.
-# Other windows in its group share remaining screen space.
-bind-key MCS-h window-htile
-
-# Current window is placed on the left of the screen, maximized vertically
-# and resized to vtile (default half) of the horizontal screen space.
-# Other windows in its group share remaining screen space.
-bind-key MCS-v window-vtile
-
-# Move window moveamount pixels directionally.
-bind-key 4S-Up window-move-up
-bind-key 4S-Down window-move-down
-bind-key 4S-Right window-move-right
-bind-key 4S-Left window-move-left
-
-# Move window 10 times moveamount pixels directionally.
-bind-key 4S-k window-move-up-big
-bind-key 4S-j window-move-down-big
-bind-key 4S-l window-move-right-big
-bind-key 4S-h window-move-left-big
-
-# Resize window moveamount pixels directionally.
-bind-key 4C-Up window-resize-up
-bind-key 4C-Down window-resize-down
-bind-key 4C-Right window-resize-right
-bind-key 4C-Left window-resize-left
-
-# Resize window 10 times moveamount pixels directionally.
-bind-key 4C-k window-resize-up-big
-bind-key 4C-j window-resize-down-big
-bind-key 4C-l window-resize-right-big
-bind-key 4C-h window-resize-left-big
-
-# Snap window to the screen edges.
-bind-key 4-Up window-snap-up
-bind-key 4-Down window-snap-down
-bind-key 4-Right window-snap-right
-bind-key 4-Left window-snap-left
-
-bind-key 4-k window-snap-up-right
-bind-key 4-j window-snap-down-left
-bind-key 4-l window-snap-down-right
-bind-key 4-h window-snap-up-left
-
-#
-# fontname "spleen:pixelsize=14"
-# speen:pixelsize=14:bold
-gap 30 5 5 5
-#
-ignore "xconsole"
-ignore "termbar"
-#
-command firefox firefox
-command xterm xterm
-#
-moveamount 4
-snapdist 25
-sticky yes
blob - e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 (mode 644)
blob + /dev/null
blob - 03854a71e095c3dfe24da2ee0c38ecaec7fff1ef (mode 644)
blob + /dev/null
--- home/.local/share/recently-used.xbel
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<xbel version="1.0"
- xmlns:bookmark="http://www.freedesktop.org/standards/desktop-bookmarks"
- xmlns:mime="http://www.freedesktop.org/standards/shared-mime-info"
-></xbel>
\ No newline at end of file
blob - 0c35ade98cbf5d8696a8f781e88fea5f7ca689c3
blob + 53edf0bc25d849ca0b12df9172057b9585672e05
--- home/.xsession
+++ home/.xsession
xset s off
xset -dpms
-setxkbmap -layout us -variant altgr-intl
+setxkbmap us -option compose:rctrl
export LANG=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8
export ENV=$HOME/.kshrc
-xsetroot -solid grey &
+#xsetroot -solid grey &
+xsetroot -solid '#1e1e2e'
# Wallpaper
feh --bg-center /home/sp/.local/media/openbsd-blue.jpg &
-#cwm
-herbstluftwm
+polybar main &
+
+cwm
+#herbstluftwm
blob - ae62cb4d94dd551976b85716cba3f34c7f9e4655
blob + b211789e32319fd77c609b2c6234281dd5b87918
--- pkg_mgmt.sh
+++ pkg_mgmt.sh
herbstluftwm
lemonbar-xft
spleen
+tamzen-font
ripgrep
xdotool
+mupdf
rofi
ranger
feh
zola
rsync
+polybar
+tmux
ungoogled-chromium