From 831bef75e100c89cd548af61584b8c2c6b4c346c Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 31 Jul 2018 19:33:48 -0500 Subject: [PATCH] Lots: Initial support for desktop usage, various bugfixes --- .config/dtfscripts/dsk-cstm-0.rc | 2 ++ .config/dtfscripts/wmstartup.sh | 6 +++--- .config/kglobalshortcutsrc | 36 +++++++++++--------------------- .config/konsolerc | 4 ++-- .config/polybar/start.sh | 2 +- .config/startupconfig | 2 +- 6 files changed, 21 insertions(+), 31 deletions(-) create mode 100755 .config/dtfscripts/dsk-cstm-0.rc diff --git a/.config/dtfscripts/dsk-cstm-0.rc b/.config/dtfscripts/dsk-cstm-0.rc new file mode 100755 index 00000000..961c6f32 --- /dev/null +++ b/.config/dtfscripts/dsk-cstm-0.rc @@ -0,0 +1,2 @@ +#!/bin/bash +export PB_BAR_WIDTH=2548 diff --git a/.config/dtfscripts/wmstartup.sh b/.config/dtfscripts/wmstartup.sh index e843b6c0..00699a91 100755 --- a/.config/dtfscripts/wmstartup.sh +++ b/.config/dtfscripts/wmstartup.sh @@ -31,9 +31,9 @@ if [[ "$PATH" != "*$HOME/.local/bin*" ]]; then fi ## Load device-specific scripts -if [[ -x ".config/dtfscripts/$(hostname).rc" ]]; then - printf "[INFO] Sourcing .config/dtfscripts/$(hostname).rc\n" - source .config/dtfscripts/$(hostname).rc +if [[ -x "$HOME/.config/dtfscripts/$(hostname).rc" ]]; then + printf "[INFO] Sourcing ~/.config/dtfscripts/$(hostname).rc\n" + source $HOME/.config/dtfscripts/$(hostname).rc fi printf "[INFO] Performing simple configuration\n" diff --git a/.config/kglobalshortcutsrc b/.config/kglobalshortcutsrc index 97c92c69..c7479e66 100644 --- a/.config/kglobalshortcutsrc +++ b/.config/kglobalshortcutsrc @@ -3,7 +3,7 @@ update_info=powerdevil_move_shortcuts.upd:powerdevil_move_shortcuts [KDE Keyboard Layout Switcher] Switch to Next Keyboard Layout=Ctrl+Alt+K,none,Switch to Next Keyboard Layout -_k_friendly_name=KDE Daemon +_k_friendly_name=System Settings [kaccess] Toggle Screen Reader On and Off=Meta+Alt+S,Meta+Alt+S,Toggle Screen Reader On and Off @@ -13,28 +13,15 @@ _k_friendly_name=Accessibility Disable Touchpad=Touchpad Off,Touchpad Off,Disable Touchpad Enable Touchpad=Touchpad On,Touchpad On,Enable Touchpad Toggle Touchpad=Touchpad Toggle,Touchpad Toggle,Toggle Touchpad -_k_friendly_name=KDE Daemon +_k_friendly_name=System Settings [kded5] -Decrease Keyboard Brightness=,Keyboard Brightness Down,Decrease Keyboard Brightness -Decrease Screen Brightness=,Monitor Brightness Down,Decrease Screen Brightness -Hibernate=,Hibernate,Hibernate -Increase Keyboard Brightness=,Keyboard Brightness Up,Increase Keyboard Brightness -Increase Screen Brightness=,Monitor Brightness Up,Increase Screen Brightness -PowerOff=,Power Off,Power Off Show System Activity=Ctrl+Esc,Ctrl+Esc,Show System Activity -Sleep=,Sleep,Suspend -Toggle Keyboard Backlight=,Keyboard Light On/Off,Toggle Keyboard Backlight -_k_friendly_name=KDE Daemon +_k_friendly_name=org_kde_powerdevil display=Display\tMeta+P,Display\tMeta+P,Switch Display [khotkeys] _k_friendly_name=KDE Daemon -{0a26c458-4585-49b6-aa2d-04ff5bd30f72}=Ctrl+Alt+T,none,Run Konsole -{108d2bf6-d19d-4ac6-ac50-0a66966deaa1}=Shift+Print,none,Take Full Screen Screenshot -{741fbce3-2eea-4a54-8f0a-2a928e1fbf25}=Meta+Shift+Print,none,Take Rectangular Region Screenshot -{763d37ae-20f4-45e2-92f9-8227205be130}=Print,none,Start Screenshot Tool -{a7192f39-4fe9-4923-b41f-52d2649c0576}=Meta+Print,none,Take Active Window Screenshot {d03619b6-9b3c-48cc-9d9c-a2aadb485550}=Search,none,Search [kmix] @@ -277,14 +264,14 @@ previousmedia=Media Previous,Media Previous,Media playback previous stopmedia=Media Stop,Media Stop,Stop media playback [org_kde_powerdevil] -Decrease Keyboard Brightness=Keyboard Brightness Down,Keyboard Brightness Down,Decrease Keyboard Brightness -Decrease Screen Brightness=Monitor Brightness Down,Monitor Brightness Down,Decrease Screen Brightness -Hibernate=Hibernate,Hibernate,Hibernate -Increase Keyboard Brightness=Keyboard Brightness Up,Keyboard Brightness Up,Increase Keyboard Brightness -Increase Screen Brightness=Monitor Brightness Up,Monitor Brightness Up,Increase Screen Brightness -PowerOff=Power Off,Power Off,Power Off -Sleep=Sleep,Sleep,Suspend -Toggle Keyboard Backlight=Keyboard Light On/Off,Keyboard Light On/Off,Toggle Keyboard Backlight +Decrease Keyboard Brightness=none,Keyboard Brightness Down,Decrease Keyboard Brightness +Decrease Screen Brightness=none,Monitor Brightness Down,Decrease Screen Brightness +Hibernate=none,Hibernate,Hibernate +Increase Keyboard Brightness=none,Keyboard Brightness Up,Increase Keyboard Brightness +Increase Screen Brightness=none,Monitor Brightness Up,Increase Screen Brightness +PowerOff=none,Power Off,Power Off +Sleep=none,Sleep,Suspend +Toggle Keyboard Backlight=none,Keyboard Light On/Off,Toggle Keyboard Backlight _k_friendly_name=Power Management [plasmashell] @@ -300,6 +287,7 @@ activate task manager entry 7=Meta+7,Meta+7,Activate Task Manager Entry 7 activate task manager entry 8=Meta+8,Meta+8,Activate Task Manager Entry 8 activate task manager entry 9=Meta+9,Meta+9,Activate Task Manager Entry 9 activate widget 25=none,none,Activate Pager Widget +activate widget 4=,none,Activate Application Launcher Widget activate widget 50=Alt+F1,none,Activate Application Launcher Widget clear-history=none,none,Clear Clipboard History clipboard_action=Ctrl+Alt+X,Ctrl+Alt+X,Enable Clipboard Actions diff --git a/.config/konsolerc b/.config/konsolerc index b3c11d5f..d323d1c1 100644 --- a/.config/konsolerc +++ b/.config/konsolerc @@ -1,8 +1,8 @@ [Desktop Entry] -DefaultProfile=Primary.profile +DefaultProfile=Profile 1.profile [Favorite Profiles] -Favorites=Primary.profile +Favorites= [FileDialogSize] Height 1080=480 diff --git a/.config/polybar/start.sh b/.config/polybar/start.sh index e66538f3..07a2a2fc 100755 --- a/.config/polybar/start.sh +++ b/.config/polybar/start.sh @@ -9,7 +9,7 @@ export PB_WM_RESTACK=bspwm # Iterate through monitors and spawn bars on each # Starting with the primary monitor... -export PB_MONITOR=$(xrandr -q | awk '/\/{print $1}') +export PB_MONITOR=$(xrandr -q | awk '/primary/{print $1}') if [[ $PB_MONITOR == "" ]]; then unset PB_MONITOR fi diff --git a/.config/startupconfig b/.config/startupconfig index 825daf8b..9c00efab 100644 --- a/.config/startupconfig +++ b/.config/startupconfig @@ -2,7 +2,7 @@ # kcminputrc Mouse cursorTheme 'breeze_cursors' kcminputrc_mouse_cursortheme=breeze_cursors # kcminputrc Mouse cursorSize '' -kcminputrc_mouse_cursorsize=0 +kcminputrc_mouse_cursorsize='' # ksplashrc KSplash Theme Breeze ksplashrc_ksplash_theme=None # ksplashrc KSplash Engine KSplashQML