From ef6ceae323f9a6a41dded13ee7e1e7e9a0ff0209 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 3 Dec 2020 18:11:47 +0100 Subject: Removed urlview, added CDE config --- .config/newsboat/config | 2 +- .config/x11/xinitrc | 4 ++- .dt/dtwmrc | 65 ++++++++++++++++++++++++++++++++++++++++++++++++ .local/bin/setscreens.sh | 2 +- .urlview | 4 --- 5 files changed, 70 insertions(+), 7 deletions(-) create mode 100644 .dt/dtwmrc delete mode 100644 .urlview 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 +{ + Mod4F1 root|window|icon f.exec "dtfile" + Mod4F2 root|window|icon f.exec "st -e nvim" + Mod4F3 root|window|icon f.exec "firefox" + Mod4F4 root|window|icon f.exec "st -e w3m https://start.duckduckgo.com" + Mod4F5 root|window|icon f.exec "st -e newsboat" + Mod4F6 root|window|icon f.exec "st -e vimpc" + Mod4F7 root|window|icon f.exec "st -e calcurse -C /home/jozan/.config/calcurse -D /home/jozan/.local/share/calcurse" + Mod4F8 root|window|icon f.exec "st -e scli" + Mod4F9 root|window|icon f.exec "st -e neomutt" + Mod4F10 root|window|icon f.exec "st -e gotop" + Mod4F11 root|window|icon f.exec "st -e htop" + Mod4F12 root|window|icon f.exec "st -e top" + Mod4 ShiftF10 root|window|icon f.exec "/home/jozan/.local/bin/mixer-set toggle" + Mod4 ShiftF11 root|window|icon f.exec "/home/jozan/.local/bin/mixer-set lower" + Mod4 ShiftF12 root|window|icon f.exec "/home/jozan/.local/bin/mixer-set raise" + Mod4BackSpace root|window|icon f.exec "/home/jozan/.local/bin/dmpc" + + MetaEscape root|window|icon f.next_key window + + Mod41 root|window|icon f.goto_workspace "ws0" + Mod42 root|window|icon f.goto_workspace "ws1" + Mod43 root|window|icon f.goto_workspace "ws2" + Mod44 root|window|icon f.goto_workspace "ws3" + + Mod4q window f.kill + Mod4f window f.maximize + Mod4s window f.normalize + Mod4m window f.move + Mod4 ShiftM window f.resize + Mod4l window f.lower + + Mod4j root|window|icon f.next_key window + Mod4k root|window|icon f.prev_key window + Mod4h root|window|icon f.screen prev + Mod4p root|window|icon f.exec "dmenu_run -i -m 0" + Mod4Return root|window|icon f.exec "st" + Mod4 ShiftE root|window|icon f.action ExitSession + Mod4 ShiftR 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 -- cgit v1.2.3