From f45096d051cc991b7ec39308128f7097a1c2da2b Mon Sep 17 00:00:00 2001 From: Chrysostomus Date: Wed, 21 Feb 2018 12:13:31 +0200 Subject: [PATCH] Adjust settings, use gnome apps --- community/bspwm-mate/Packages-Desktop | 28 +- .../desktop-overlay/etc/environment | 3 +- .../etc/skel/.config/bspwm/bspwmrc | 3 +- .../etc/skel/.config/sxhkd/sxhkdrc | 327 ++++++++++++++++++ .../root/.config/Kvantum/kvantum.kvconfig | 5 + .../root/.config/qt5ct/qt5ct.conf | 25 ++ .../usr/share/applications/calamares.desktop | 13 + 7 files changed, 391 insertions(+), 13 deletions(-) create mode 100755 community/bspwm-mate/desktop-overlay/etc/skel/.config/sxhkd/sxhkdrc create mode 100644 community/bspwm-mate/desktop-overlay/root/.config/Kvantum/kvantum.kvconfig create mode 100644 community/bspwm-mate/desktop-overlay/root/.config/qt5ct/qt5ct.conf create mode 100644 community/bspwm-mate/live-overlay/usr/share/applications/calamares.desktop diff --git a/community/bspwm-mate/Packages-Desktop b/community/bspwm-mate/Packages-Desktop index 5143015..009bc35 100644 --- a/community/bspwm-mate/Packages-Desktop +++ b/community/bspwm-mate/Packages-Desktop @@ -1,23 +1,31 @@ # Applications -eom +#thunar-gtk3 +#thunar-archive-plugin-gtk3 +#thunar-media-tags-plugin +#thunar-shares-plugin-manjaro +#thunar-volman-gtk3 +#tumbler +#ffmpegthumbnailer +#mousepad +#xreader +#eom +eog +evince +nautilus-typeahead +gedit +gedit-plugins +gedit-code-assistance +gnome-disk-utility vlc-nightly transmission-gtk -thunar-gtk3 -thunar-archive-plugin-gtk3 -thunar-media-tags-plugin -thunar-shares-plugin-manjaro -thunar-volman-gtk3 -mousepad sterminal pavucontrol chromium -gnome-disk-utility gufw >extra libreoffice-fresh >extra gparted >extra gimp >extra thunderbird -xreader # Desktop alsa-firmware alsa-plugins @@ -66,8 +74,6 @@ rootmenu sxhkd terminus-font thermald -tumbler -ffmpegthumbnailer xcape xdg-su xdg-user-dirs diff --git a/community/bspwm-mate/desktop-overlay/etc/environment b/community/bspwm-mate/desktop-overlay/etc/environment index 701af46..e3d7718 100644 --- a/community/bspwm-mate/desktop-overlay/etc/environment +++ b/community/bspwm-mate/desktop-overlay/etc/environment @@ -3,4 +3,5 @@ # # Syntax: simple "KEY=VAL" pairs on separate lines # -GTK_CSD=1 \ No newline at end of file +GTK_CSD=1 +QT_QPA_PLATFORMTHEME=qt5ct \ No newline at end of file diff --git a/community/bspwm-mate/desktop-overlay/etc/skel/.config/bspwm/bspwmrc b/community/bspwm-mate/desktop-overlay/etc/skel/.config/bspwm/bspwmrc index 20e9dc1..f725b00 100755 --- a/community/bspwm-mate/desktop-overlay/etc/skel/.config/bspwm/bspwmrc +++ b/community/bspwm-mate/desktop-overlay/etc/skel/.config/bspwm/bspwmrc @@ -51,7 +51,7 @@ bspc rule -a gcolor2 state=floating center=true bspc rule -a lxappearance state=floating center=true bspc rule -a gmrun state=floating center=true bspc rule -a lxterminal state=floating center=true sticky=true -bspc rule -a manjaro-hello state=floating center=true +bspc rule -a Manjaro-hello state=floating center=true #bspc rule -a urxvt state=floating center=true bspc rule -a viewnior state=floating center=true bspc rule -a file-roller state=floating center=true @@ -110,3 +110,4 @@ bspc config external_rules_command /usr/bin/pseudo_automatic_mode #sxhkd & #Source autostartfile. Uncomment this if you use bspwm-git #. $HOME/.config/bspwm/autostart +xsetroot -cursor_name left_ptr & \ No newline at end of file diff --git a/community/bspwm-mate/desktop-overlay/etc/skel/.config/sxhkd/sxhkdrc b/community/bspwm-mate/desktop-overlay/etc/skel/.config/sxhkd/sxhkdrc new file mode 100755 index 0000000..83a90cf --- /dev/null +++ b/community/bspwm-mate/desktop-overlay/etc/skel/.config/sxhkd/sxhkdrc @@ -0,0 +1,327 @@ +# bspwm hotkeys +# +# Cleanly quit bspwm +#super + shift + q +# bspc quit 1 && pkill lemonpanel && pkill lemonbar + +# Show keybindings +super + F1 + $TERMINAL -e keybindings.sh +# +# Window manipulation +# ______________ + +# Close window +super + x + bspc node -c + +# Kill window +super + shift + x + bspc node -k + +# Toggle tiling mode of window +super + shift + t + bspc node -t {pseudo_tiled,tiled} +super + t + {bspc node -t floating && window-placer $(bspc query -T -d | grep -o '"state":"floating"' | wc -l),bspc node -t tiled} +# Force all windows of the desktop to tile +#super + ctrl + t +# bspcp tile +# Force all windows of the desktop to float and arrange them +#super + ctrl + shift + t +# bspcp float + +# Toggle fullscreen +super + shift + f + bspc node -t {fullscreen,tiled} + +# Try to keep size and position of the selected window +super + o + bspc node -g private + +# Make window sticky +super + i + bspc node -g sticky + +# Lock a window from closing +super + Escape + bspc node -g locked + +### Map or unmap windows (functional equivalent of "minimize") +#super + c +# whid dmenu + +#super + shift + c +# whid hide + +#super + ctrl + c +# whid last + +# +# Window moving and splitting +# ______________ + +# Autopresel (split window in its largest dimension) +super + ctrl + Return + auto-presel + +#ctrl + space +# auto-presel + +# Presel window for splitting in certain direction +alt + ctrl + {a,s,w,d} + bspc node -p \~{west,south,north,east} -i + +alt + ctrl + {h,j,k,l} + bspc node -p \~{west,south,north,east} + +alt + ctrl + {Left,Down,Up,Right} + bspc node -p \~{west,south,north,east} + +# Presel the desktop for splitting in certain direction +#alt + shift + {a,s,w,d} +# bspc node @/ -p \~{west,south,north,east} + +#alt + shift + {h,j,k,l} +# bspc node @/ -p \~{west,south,north,east} + +#alt + shift + {Left,Down,Up,Right} +# bspc node @/ -p \~{west,south,north,east} +# Set splitting ratio of windows +alt + ctrl + {1-9} + bspc node -o 0.{1-9} + +# Move current window to largest space or preselected area if there is one. +super + Return + windowpromoter + +# Create a new "master area", splitting the whole desktop instead of just windows. +#alt + Return +# bspc node -n @/ + +# go (Shift=move) to desktop (and focus the monitor that the desktop is located on. Bspwm style) +super + {_,shift + }{1-9,0} + bspc {desktop -f,node -d} ^{1-9,10} + +## Alternative: i3 style behavior (focus nth, desktop of the focused monitor) +#super + {1-9,0} +# focusdesktopofthismonitor {1-9} +#super + shift + {1-9,0} +# movetodesktopofthismonitor {1-9,10} + +## Another alternative: xmonad style desktops. You have 10 desktops shared between all monitors, +## and focusing a desktop focuses it on the currently focused monitor +#super + {1-9,0} +# summondesktop.sh {1-9,10} +#super + shift + {1-9,0} +# bspc node -d ^{1-9,10} + +# Select previous / next desktop +super + {m,n} + bspc desktop -f {prev.occupied,next.occupied} + +# cycle windows +alt + {_,shift + }Tab + bspc node -f {next,prev} + +# Go to specific window +#super + Tab +# WindowSelector + +#Focus windows by direction, works with multihead +super + {a,s,w,d} + focusmover {west,south,north,east} + +super + {h,j,k,l} + focusmover {west,south,north,east} + +super + {Left,Down,Up,Right} + focusmover {west,south,north,east} + +# Move tiled windows. Moving a tiled window to +# preselected one moves into preselection instead. +# Moving out of the screen should move the window to next monitor if possible +super + shift + {a,s,w,d} + windowgrabber {west,south,north,east} + +super + shift + {h,j,k,l} + windowgrabber {west,south,north,east} + +# Different style of movement: transplant into window in chosen direction +super + shift + {Left,Down,Up,Right} + euclid_mover {west,south,north,east} + +#resize windows +super + ctrl + {a,s,w,d} + bspwm_resize.sh {west,south,north,east} + +super + ctrl + {h,j,k,l} + bspwm_resize.sh {west,south,north,east} + +super + ctrl + {Left,Down,Up,Right} + bspwm_resize.sh {west,south,north,east} + +# +# Layout manipulation/desktop level controls +# ______________ + +# Toggle monocle mode +super + f + bspc desktop -l next + +# Balance tree +super + b + bspc node @/ -B + +# Balance brother node. If you do this on biggest window of the desktop, it usually means balancing all windows with except the biggest. +super + alt + b + bspc node @brother -B + +# Undo balancing (equalize windows) +super + ctrl + b + bspc node @/ -E + +# Toggle automatic balancing of windows +alt + b + euclid_balancer + +# Mirror and flip leaves of tree +super + {comma,period} + bspc node @/ -F {horizontal,vertical} + +# Rotate leaves of tree +super + shift + {comma,period} + bspc node @/ -R {90,270} + +# Change window gap + +#super + g +# bspc config -d focused window_gap {$gap,$(($gap+$gap)),$(($gap+$gap+$gap))} + +super + button{4,5} + bspc config -d focused window_gap $((`bspc config -d focused window_gap` {+,-} 2 )) +# +# mouse bindings +# __________________ + +~button1 + DidIClickDesktop.sh && mygtkmenui -- .config/GTKmenu/LaunchMenu + +~button2 + DidIClickDesktop.sh && mygtkmenui -- .config/GTKmenu/BspwmWindowMenui + +~button3 + DidIClickDesktop.sh && mygtkmenui -- .config/GTKmenu/BspwmDesktopMenui + +# Switch workspace by scrolling on the desktop. Causes scrolling issues on some systems. +~button4 + DidIClickDesktop.sh && bspc desktop -f next +~button5 + DidIClickDesktop.sh && bspc desktop -f prev + +### Add or remove desktops by scrolling +super + ctrl + button5 + bspcp dsktp rm + +super + ctrl + button4 + bspcp dsktp add + +# Spawn applications popup menu and manually tile selected +# app where your mouse was when you opened the menu. Smartsplit only chooses +# biggest dimension of the window, MouseLaunch only cares which edge is closer. +# mod5 is alt_gr (first key right from space) on most keyboards. +mod5 + @button1 + MouseLaunch ; mygtkmenui -- .config/GTKmenu/LaunchMenu +# smartsplit ; dboxmenu + +# Spawn window manipulation menu +# Mod1 is alt +# BspwmWindowMenu +#mod1 + @button1 +# mygtkmenui -- .config/GTKmenu/BspwmWindowMenui + + +# +# spawn programs +# + +# run applications +super + space + dmenu_recent -fn 'xos4 Terminus:size=15' -i -l 14 -w 600 -y $PANEL_HEIGHT + +super + shift + space + rofi -show + +super + p + dmenu_recent -h $PANEL_HEIGHT -fn 'xos4 Terminus:size=15' -i + +super + shift + Return + default-terminal +super + z + default-terminal + +super + shift + z + open-terminal-here + +super + r + rofi-finder.sh + +super + shift + b + $BROWSER + +super + e + nautilus -w + +super + shift + e + $TERMINAL -e ranger + +Print + scrot + + +# +# Media keys +# + +XF86AudioRaiseVolume + pulseaudio-ctl up && \ + volnoti-show $(pulseaudio-ctl full-status | cut -d" " -f1) + +XF86AudioLowerVolume + pulseaudio-ctl down && \ + volnoti-show $(pulseaudio-ctl full-status | cut -d" " -f1) + +XF86AudioMute + pulseaudio-ctl mute && \ + [ "$(pulseaudio-ctl full-status | cut -d" " -f2)" = no ] && volnoti-show $(pulseaudio-ctl full-status | cut -d" " -f1) || volnoti-show -m + +XF86MonBrightnessDown + light -U 5 && \ + volnoti-show -s /usr/share/pixmaps/volnoti/display-brightness-symbolic.svg $(light -G | sed 's/\..*//') + +XF86MonBrightnessUp + light -A 5 && \ + volnoti-show -s /usr/share/pixmaps/volnoti/display-brightness-symbolic.svg $(light -G | sed 's/\..*//') + + +XF86Sleep + systemctl suspend + +# make sxhkd reload its configuration files: +super + shift + Escape + pkill -USR1 -x sxhkd + +# In case bspwmrc fails to execute/you wish have plugged in a new monitor +super + shift + r + bspwmrc +#edit this file +alt + ctrl + space + $GUI_EDITOR ~/.config/sxhkd/sxhkdrc +# Toggle compositing +super + ctrl + space + {pkill compton ,\ + compton -b } + +# Remove receptacles +super + BackSpace + for i in $(bspc query -N -n .leaf.!window.local); do bspc node $i -k; done diff --git a/community/bspwm-mate/desktop-overlay/root/.config/Kvantum/kvantum.kvconfig b/community/bspwm-mate/desktop-overlay/root/.config/Kvantum/kvantum.kvconfig new file mode 100644 index 0000000..6567ddf --- /dev/null +++ b/community/bspwm-mate/desktop-overlay/root/.config/Kvantum/kvantum.kvconfig @@ -0,0 +1,5 @@ +[General] +theme=KvAdaptaBreathDark + +[Applications] +KvAdaptaBreath=calamares, Calamares diff --git a/community/bspwm-mate/desktop-overlay/root/.config/qt5ct/qt5ct.conf b/community/bspwm-mate/desktop-overlay/root/.config/qt5ct/qt5ct.conf new file mode 100644 index 0000000..36643d3 --- /dev/null +++ b/community/bspwm-mate/desktop-overlay/root/.config/qt5ct/qt5ct.conf @@ -0,0 +1,25 @@ +[Appearance] +color_scheme_path= +custom_palette=false +icon_theme=Breeze-Maia-Dark +style=kvantum + +[Fonts] +fixed=@Variant(\0\0\0@\0\0\0\x1a\0x\0o\0s\0\x34\0 \0T\0\x65\0r\0m\0i\0n\0u\0s@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0K\x10) +general=@Variant(\0\0\0@\0\0\0\x12\0N\0o\0t\0o\0 \0S\0\x61\0n\0s@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) + +[Interface] +activate_item_on_single_click=1 +buttonbox_layout=3 +cursor_flash_time=1000 +dialog_buttons_have_icons=1 +double_click_interval=400 +gui_effects=General, AnimateMenu, AnimateTooltip +menus_have_icons=true +stylesheets=@Invalid() +toolbutton_style=4 +underline_shortcut=1 +wheel_scroll_lines=3 + +[SettingsWindow] +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\0\0\0\0\0\x19\0\0\x3\xde\0\0\x4\x37\0\0\0\x2\0\0\0\x1b\0\0\x3\xdc\0\0\x4\x35\0\0\0\0\0\0\0\0\a\x80) diff --git a/community/bspwm-mate/live-overlay/usr/share/applications/calamares.desktop b/community/bspwm-mate/live-overlay/usr/share/applications/calamares.desktop new file mode 100644 index 0000000..5e21ac6 --- /dev/null +++ b/community/bspwm-mate/live-overlay/usr/share/applications/calamares.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Install Manjaro Linux +GenericName=Live Installer +Comment=Install the operating system to disk +Comment[de]=Manjaro Linux installieren +Exec=env QT_QPA_PLATFORMTHEME=fusion /usr/bin/calamares_polkit %f +Icon=calamares +Terminal=false +StartupNotify=true +Type=Application +Categories=Qt;System;