diff options
Diffstat (limited to '')
-rw-r--r-- | .config/newsboat/config | 2 | ||||
-rw-r--r-- | .config/x11/xinitrc | 4 | ||||
-rw-r--r-- | .dt/dtwmrc | 65 | ||||
-rwxr-xr-x | .local/bin/setscreens.sh | 2 | ||||
-rw-r--r-- | .urlview | 4 |
5 files changed, 70 insertions, 7 deletions
diff --git a/.config/newsboat/config b/.config/newsboat/config index 849a3a9..4c6bb80 100644 --- a/.config/newsboat/config +++ b/.config/newsboat/config @@ -2,7 +2,7 @@ auto-reload no reload-threads 5 -external-url-viewer "urlview" +external-url-viewer "linkview" bind-key j down bind-key k up diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index a9d1980..79e61f9 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -1,3 +1,4 @@ +# vim: filetype=sh pkill compton pkill dunst pkill mpd-notification @@ -13,4 +14,5 @@ pkill lowbat cd /home/jozan xrdb /home/jozan/.config/x11/xresources /usr/local/bin/notify-send -u normal 'Welcome' " Welcome back, partner\!" -dbus-launch dwm +# dbus-launch dwm +/usr/local/dt/bin/Xsession -screens 1 diff --git a/.dt/dtwmrc b/.dt/dtwmrc new file mode 100644 index 0000000..a37b065 --- /dev/null +++ b/.dt/dtwmrc @@ -0,0 +1,65 @@ +# vim: filetype=conf + +Menu Internet +{ + Firefox f.exec "firefox" +} + +Menu DtRootMenu +{ + "Workspace Menu" f.title + "Internet" f.menu "Internet" + "Office" f.menu "Office" + no-label f.separator + no-label f.separator + "Shuffle Up" f.circle_up + "Shuffle Down" f.circle_down + "Refresh" f.refresh + "Minimize/Restore Front Panel" f.toggle_frontpanel + no-label f.separator + "Restart Workspace Manager..." f.restart + no-label f.separator + "Log out..." f.action ExitSession +} + +Keys DtKeyBindings +{ + Mod4<Key>F1 root|window|icon f.exec "dtfile" + Mod4<Key>F2 root|window|icon f.exec "st -e nvim" + Mod4<Key>F3 root|window|icon f.exec "firefox" + Mod4<Key>F4 root|window|icon f.exec "st -e w3m https://start.duckduckgo.com" + Mod4<Key>F5 root|window|icon f.exec "st -e newsboat" + Mod4<Key>F6 root|window|icon f.exec "st -e vimpc" + Mod4<Key>F7 root|window|icon f.exec "st -e calcurse -C /home/jozan/.config/calcurse -D /home/jozan/.local/share/calcurse" + Mod4<Key>F8 root|window|icon f.exec "st -e scli" + Mod4<Key>F9 root|window|icon f.exec "st -e neomutt" + Mod4<Key>F10 root|window|icon f.exec "st -e gotop" + Mod4<Key>F11 root|window|icon f.exec "st -e htop" + Mod4<Key>F12 root|window|icon f.exec "st -e top" + Mod4 Shift<Key>F10 root|window|icon f.exec "/home/jozan/.local/bin/mixer-set toggle" + Mod4 Shift<Key>F11 root|window|icon f.exec "/home/jozan/.local/bin/mixer-set lower" + Mod4 Shift<Key>F12 root|window|icon f.exec "/home/jozan/.local/bin/mixer-set raise" + Mod4<Key>BackSpace root|window|icon f.exec "/home/jozan/.local/bin/dmpc" + + Meta<Key>Escape root|window|icon f.next_key window + + Mod4<key>1 root|window|icon f.goto_workspace "ws0" + Mod4<key>2 root|window|icon f.goto_workspace "ws1" + Mod4<key>3 root|window|icon f.goto_workspace "ws2" + Mod4<key>4 root|window|icon f.goto_workspace "ws3" + + Mod4<Key>q window f.kill + Mod4<Key>f window f.maximize + Mod4<Key>s window f.normalize + Mod4<Key>m window f.move + Mod4 Shift<Key>M window f.resize + Mod4<Key>l window f.lower + + Mod4<Key>j root|window|icon f.next_key window + Mod4<Key>k root|window|icon f.prev_key window + Mod4<Key>h root|window|icon f.screen prev + Mod4<Key>p root|window|icon f.exec "dmenu_run -i -m 0" + Mod4<Key>Return root|window|icon f.exec "st" + Mod4 Shift<Key>E root|window|icon f.action ExitSession + Mod4 Shift<Key>R root|window|icon f.restart +} diff --git a/.local/bin/setscreens.sh b/.local/bin/setscreens.sh index ec7c266..f718261 100755 --- a/.local/bin/setscreens.sh +++ b/.local/bin/setscreens.sh @@ -5,7 +5,7 @@ if xrandr | grep 'HDMI-1 connected'; then xrandr --output LVDS-1 --off xrandr --output HDMI-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal xrandr --output DP-1 --off - xrandr --output VGA-1 --mode 1440x900 --right-of HDMI-1 --rotate normal + xrandr --output VGA-1 --mode 1440x900 --pos 1920x180 --rotate normal xrandr --output HDMI-2 --off xrandr --output HDMI-3 --off xrandr --output DP-2 --off diff --git a/.urlview b/.urlview deleted file mode 100644 index 649f158..0000000 --- a/.urlview +++ /dev/null @@ -1,4 +0,0 @@ -REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):] - -COMMAND ~/.local/bin/linkview -QUITONLAUNCH |