From: Amin Bandali Date: Mon, 16 Mar 2015 04:34:11 +0000 (-0400) Subject: xfce + bspwm setup X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/dcbfb16d6c4e6c014919647b843fe16e14bfc382?ds=inline xfce + bspwm setup --- diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index 76207bf..f9693b4 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc @@ -3,7 +3,7 @@ bspc config border_width 5 bspc config window_gap 10 -bspc config top_padding 24 +bspc config top_padding 30 bspc config split_ratio 0.5 bspc config borderless_monocle true @@ -15,5 +15,6 @@ bspc monitor -d web code term misc1 misc2 bspc rule -a Firefox desktop=^1 focus=on bspc rule -a emacs desktop=^2 focus=on bspc rule -a zathura desktop=^5 focus=on +bspc rule -a xfce4-appfinder floating=on # panel & diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index cc7ec59..aaf37e4 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -84,7 +84,7 @@ super + Return urxvt super + space - dmenu_run -fn "-*-termsyn-medium-r-normal-*-13-*-*-*-c-*-*-1" -h 24 -nb \#1d1f21 -nf \#ffffff -sb \#cc6666 -sf \#ffffff + xfce4-popup-whiskermenu super + x slimlock @@ -93,23 +93,23 @@ super + e emacs super + r - firefox-developer + firefox # make sxhkd reload its configuration files: super + Escape pkill -USR1 -x sxhkd -XF86MonBrightnessDown - xbacklight -dec 5 +#XF86MonBrightnessDown +# xbacklight -dec 5 -XF86MonBrightnessUp - xbacklight -inc 5 +#XF86MonBrightnessUp +# xbacklight -inc 5 -XF86KbdBrightnessDown - kbdlight down +# XF86KbdBrightnessDown + #kbdlight down -XF86KbdBrightnessUp - kbdlight up +# XF86KbdBrightnessUp + #kbdlight up #XF86AudioRaiseVolume # pulseaudio-ctl up @@ -139,4 +139,4 @@ XF86AudioMute pamixer --toggle-mute XF86LaunchA - toggle-layout \ No newline at end of file + toggle-layout diff --git a/x/.Xresources b/x/.Xresources index cdf3bbe..a7c4009 100644 --- a/x/.Xresources +++ b/x/.Xresources @@ -22,7 +22,7 @@ URxvt.keysym.M-c: perl:clipboard:copy URxvt.keysym.M-v: perl:clipboard:paste URxvt.keysym.C-A-V: perl:clipboard:paste_escaped -!URxvt.iconFile: /usr/share/icons/Numix-Circle/scalable/apps/utilities-terminal.svg +URxvt.iconFile: /usr/share/icons/Moka/96x96/apps/utilities-terminal.png !URxvt.iconFile: /home/amin/.icons/Moka/96x96/apps/utilities-terminal.png URxvt.keysym.C-Up: perl:font-size:increase diff --git a/x/.xinitrc b/x/.xinitrc deleted file mode 100755 index e998b0b..0000000 --- a/x/.xinitrc +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh -# -# ~/.xinitrc -# -# Executed by startx (run your window manager from here) - -if [ -d /etc/X11/xinit/xinitrc.d ]; then - for f in /etc/X11/xinit/xinitrc.d/*; do - [ -x "$f" ] && . "$f" - done - unset f -fi - -# workaround for some java apps, when running a non-reparenting window manager -export _JAVA_AWT_WM_NONREPARENTING=1 - -xrdb -merge ~/.Xresources -xrdb -merge ~/.base16-tomorrow.dark.256.xresources - -# set the cursor icon -xsetroot -cursor_name left_ptr & - -# set the wallpaper -sh ~/.fehbg & - -# font stuff -xset +fp /usr/share/fonts/local -xset +fp ~/.fonts -xset fp rehash -xset b off - -# the compositor -compton & - -# xbacklight -set 50 - -# synaptics (touchpad) configs -synclient TapButton2=3 -synclient TapButton3=2 -synclient HorizTwoFingerScroll=1 -synclient VertScrollDelta=-237 -synclient HorizScrollDelta=-237 - -# swap caps lock and esc -setxkbmap -option caps:swapescape - -# MPD daemon start (if no other instance exists) -[ -z $(pidof mpd) ] && mpd & - -# screen powersave -xset +dpms -xset dpms 0 0 300 - -# lock the screen using lightdm after 5 minutes -xautolock -time 5 -locker "slimlock" & - - -# exec gnome-session -# exec startkde -# exec startxfce4 -# ...or the Window Manager of your choice -source ~/.profile -sxhkd & -panel & - -DEFAULTSESSION=bspwm -case "$1" in - i3) exec i3;; - bspwm) exec bspwm;; - *) exec $DEFAULTSESSION ;; -esac diff --git a/x/.xprofile b/x/.xprofile new file mode 100755 index 0000000..e44ff71 --- /dev/null +++ b/x/.xprofile @@ -0,0 +1,74 @@ +#!/bin/sh +# +# ~/.xinitrc +# +# Executed by startx (run your window manager from here) + +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +# workaround for some java apps, when running a non-reparenting window manager +export _JAVA_AWT_WM_NONREPARENTING=1 + +xrdb -merge ~/.Xresources +xrdb -merge ~/.base16-tomorrow.dark.256.xresources + +# set the cursor icon +# xsetroot -cursor_name left_ptr & + +# set the wallpaper +# sh ~/.fehbg & + +# font stuff +# xset +fp /usr/share/fonts/local +# xset +fp ~/.fonts +# xset fp rehash +# xset b off + +# the compositor +compton & + +# xbacklight -set 50 + +# synaptics (touchpad) configs +synclient TapButton2=3 +synclient TapButton3=2 +synclient HorizTwoFingerScroll=1 +synclient VertScrollDelta=-237 +synclient HorizScrollDelta=-237 + +# swap caps lock and esc +setxkbmap -option caps:swapescape + +# MPD daemon start (if no other instance exists) +[ -z $(pidof mpd) ] && mpd & + +# screen powersave +# xset +dpms +# xset dpms 0 0 300 + +# lock the screen using lightdm after 5 minutes +# xautolock -time 5 -locker "slimlock" & + + +# exec gnome-session +# exec startkde +# exec startxfce4 +# ...or the Window Manager of your choice +# source ~/.profile +# bspwm & +sxhkd & +sleep 1 && pnmixer & +# panel & + +# DEFAULTSESSION=bspwm +# case "$1" in +# i3) exec i3;; +# bspwm) exec bspwm;; +# *) exec $DEFAULTSESSION ;; +# esac + diff --git a/xfce4/.config/xfce4/desktop/icons.screen0-0x0.rc b/xfce4/.config/xfce4/desktop/icons.screen0-0x0.rc new file mode 100644 index 0000000..d6683a9 --- /dev/null +++ b/xfce4/.config/xfce4/desktop/icons.screen0-0x0.rc @@ -0,0 +1,3 @@ +[xfdesktop-version-4.10.3+-rcfile_format] +4.10.3+=true + diff --git a/xfce4/.config/xfce4/desktop/icons.screen0-1424x804.rc b/xfce4/.config/xfce4/desktop/icons.screen0-1424x804.rc new file mode 100644 index 0000000..d6683a9 --- /dev/null +++ b/xfce4/.config/xfce4/desktop/icons.screen0-1424x804.rc @@ -0,0 +1,3 @@ +[xfdesktop-version-4.10.3+-rcfile_format] +4.10.3+=true + diff --git a/xfce4/.config/xfce4/desktop/icons.screen0-1424x853.rc b/xfce4/.config/xfce4/desktop/icons.screen0-1424x853.rc new file mode 100644 index 0000000..d6683a9 --- /dev/null +++ b/xfce4/.config/xfce4/desktop/icons.screen0-1424x853.rc @@ -0,0 +1,3 @@ +[xfdesktop-version-4.10.3+-rcfile_format] +4.10.3+=true + diff --git a/xfce4/.config/xfce4/desktop/icons.screen0-1424x884.rc b/xfce4/.config/xfce4/desktop/icons.screen0-1424x884.rc new file mode 100644 index 0000000..d6683a9 --- /dev/null +++ b/xfce4/.config/xfce4/desktop/icons.screen0-1424x884.rc @@ -0,0 +1,3 @@ +[xfdesktop-version-4.10.3+-rcfile_format] +4.10.3+=true + diff --git a/xfce4/.config/xfce4/helpers.rc b/xfce4/.config/xfce4/helpers.rc new file mode 100644 index 0000000..ed48f33 --- /dev/null +++ b/xfce4/.config/xfce4/helpers.rc @@ -0,0 +1,2 @@ +TerminalEmulator=urxvt + diff --git a/xfce4/.config/xfce4/panel/battery-7.rc b/xfce4/.config/xfce4/panel/battery-7.rc new file mode 100644 index 0000000..db0b7e7 --- /dev/null +++ b/xfce4/.config/xfce4/panel/battery-7.rc @@ -0,0 +1,20 @@ +display_label=false +display_icon=false +display_power=false +display_percentage=true +display_bar=false +display_time=false +tooltip_display_percentage=false +tooltip_display_time=false +low_percentage=5 +critical_percentage=2 +action_on_low=1 +action_on_critical=1 +hide_when_full=459 +colorA=#8888FF +colorH=#00FF00 +colorL=#FFFF00 +colorC=#FF0000 +command_on_low= +command_on_critical= + diff --git a/xfce4/.config/xfce4/panel/whiskermenu-11.rc b/xfce4/.config/xfce4/panel/whiskermenu-11.rc new file mode 100644 index 0000000..113222f --- /dev/null +++ b/xfce4/.config/xfce4/panel/whiskermenu-11.rc @@ -0,0 +1,60 @@ +favorites=exo-terminal-emulator.desktop,exo-file-manager.desktop,exo-mail-reader.desktop,exo-web-browser.desktop +recent=Thunar.desktop,xfce-session-settings.desktop,android-studio.desktop,android-sdk.desktop,exo-preferred-applications.desktop,xfce4-taskmanager.desktop,firefox.desktop,emacs.desktop +button-title=Applications +button-icon=distributor-logo-archlinux +button-single-row=false +show-button-title=false +show-button-icon=true +launcher-show-name=true +launcher-show-description=true +item-icon-size=2 +hover-switch-category=false +category-icon-size=1 +load-hierarchy=false +recent-items-max=10 +favorites-in-recent=true +display-recent-default=false +position-search-alternate=true +position-commands-alternate=false +position-categories-alternate=true +menu-width=524 +menu-height=436 +menu-opacity=100 +command-settings=xfce4-settings-manager +show-command-settings=true +command-lockscreen=xflock4 +show-command-lockscreen=true +command-switchuser=gdmflexiserver +show-command-switchuser=true +command-logout=xfce4-session-logout +show-command-logout=true +command-menueditor=menulibre +show-command-menueditor=true +command-profile=mugshot +show-command-profile=true +search-actions=4 + +[action0] +name=Man Pages +pattern=# +command=exo-open --launch TerminalEmulator man %s +regex=false + +[action1] +name=Wikipedia +pattern=!w +command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u +regex=false + +[action2] +name=Run in Terminal +pattern=! +command=exo-open --launch TerminalEmulator %s +regex=false + +[action3] +name=Open URI +pattern=^(file|http|https):\\/\\/(.*)$ +command=exo-open \\0 +regex=true + diff --git a/xfce4/.config/xfce4/panel/xkb-plugin-9.rc b/xfce4/.config/xfce4/panel/xkb-plugin-9.rc new file mode 100644 index 0000000..73bec45 --- /dev/null +++ b/xfce4/.config/xfce4/panel/xkb-plugin-9.rc @@ -0,0 +1,4 @@ +display_type=1 +display_textsize=0 +group_policy=0 + diff --git a/xfce4/.config/xfce4/terminal/terminalrc b/xfce4/.config/xfce4/terminal/terminalrc new file mode 100644 index 0000000..c76da38 --- /dev/null +++ b/xfce4/.config/xfce4/terminal/terminalrc @@ -0,0 +1,25 @@ +[Configuration] +FontName=Source Code Pro Medium 11 +MiscAlwaysShowTabs=FALSE +MiscBell=FALSE +MiscBordersDefault=TRUE +MiscCursorBlinks=FALSE +MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK +MiscDefaultGeometry=80x24 +MiscInheritGeometry=FALSE +MiscMenubarDefault=FALSE +MiscMouseAutohide=FALSE +MiscToolbarDefault=FALSE +MiscConfirmClose=TRUE +MiscCycleTabs=TRUE +MiscTabCloseButtons=TRUE +MiscTabCloseMiddleClick=TRUE +MiscTabPosition=GTK_POS_TOP +MiscHighlightUrls=TRUE +ScrollingBar=TERMINAL_SCROLLBAR_NONE + +ColorCursor=#c5c8c6 +ColorForeground=#c5c8c6 +ColorBackground=#1d1f21 +ColorPalette=#1d1f21;#cc6666;#b5bd68;#f0c674;#81a2be;#b294bb;#8abeb7;#c5c8c6;#969896;#cc6666;#b5bd68;#f0c674;#81a2be;#b294bb;#8abeb7;#ffffff + diff --git a/xfce4/.config/xfce4/xfce4-taskmanager.rc b/xfce4/.config/xfce4/xfce4-taskmanager.rc new file mode 100644 index 0000000..74c2669 --- /dev/null +++ b/xfce4/.config/xfce4/xfce4-taskmanager.rc @@ -0,0 +1,25 @@ +[Settings] +ShowAllProcesses=FALSE +MorePrecision=FALSE +FullCommandLine=FALSE +ShowStatusIcon=FALSE +ShowMemoryInXBytes=FALSE +MonitorPaintBox=TRUE +ShowApplicationIcons=TRUE +ToolbarStyle=DEFAULT +PromptTerminateTask=TRUE +RefreshRate=750 +ColumnUID=FALSE +ColumnPID=TRUE +ColumnPPID=FALSE +ColumnState=FALSE +ColumnVSZ=FALSE +ColumnRSS=TRUE +ColumnCPU=TRUE +ColumnPriority=FALSE +SortColumn=7 +SortType=1 +WindowWidth=1410 +WindowHeight=840 +HandlePosition=100 +ProcessTreeView=FALSE diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml new file mode 100644 index 0000000..ad431bd --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml new file mode 100644 index 0000000..9ddc443 --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml new file mode 100644 index 0000000..dbb83d1 --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/thunar-volman.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/thunar-volman.xml new file mode 100644 index 0000000..8812fbc --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/thunar-volman.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml new file mode 100644 index 0000000..ea7d4e3 --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml new file mode 100644 index 0000000..a89226b --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml new file mode 100644 index 0000000..a61bc02 --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml new file mode 100644 index 0000000..a9860bc --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-mixer.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-mixer.xml new file mode 100644 index 0000000..ea3acb2 --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-mixer.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml new file mode 100644 index 0000000..15a308d --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml new file mode 100644 index 0000000..1e5b37d --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml new file mode 100644 index 0000000..e20ab39 --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml.new b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml.new new file mode 100644 index 0000000..e69de29 diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml new file mode 100644 index 0000000..225ccaf --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-editor.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-editor.xml new file mode 100644 index 0000000..d832b67 --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-editor.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml new file mode 100644 index 0000000..4c0783b --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml new file mode 100644 index 0000000..7f79454 --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml new file mode 100644 index 0000000..e95b04c --- /dev/null +++ b/xfce4/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +