1.1.0 Added dotfiles from my old PC

This commit is contained in:
2020-10-02 22:43:43 +02:00
parent 1d0d2bdd53
commit 49f2ea379d
102 changed files with 10692 additions and 0 deletions

Binary file not shown.

10
IMPORTED_FROM_MANJARO/.Xclients Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
#
# ~/.Xclients
#
# Executed by xdm/gdm/kdm at login
#
/bin/bash --login -i ~/.xinitrc

View File

@@ -0,0 +1,103 @@
! Base16 Eighties
! Scheme: Chris Kempson (http://chriskempson.com)
*foreground: #d3d0c8
#ifdef background_opacity
*background: [background_opacity]#2d2d2d
#else
*background: #2d2d2d
#endif
*cursorColor: #d3d0c8
*color0: #2d2d2d
*color1: #f2777a
*color2: #99cc99
*color3: #ffcc66
*color4: #6699cc
*color5: #cc99cc
*color6: #66cccc
*color7: #d3d0c8
*color8: #747369
*color9: #f2777a
*color10: #99cc99
*color11: #ffcc66
*color12: #6699cc
*color13: #cc99cc
*color14: #66cccc
*color15: #f2f0ec
! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt),
! use 'shell' template to set these if necessary
*color16: #f99157
*color17: #d27b53
*color18: #393939
*color19: #515151
*color20: #a09f93
*color21: #e8e6df
URxvt.font: 9x15,xft:TerminessTTFNerdFontMono
! alternative font settings with 'terminus':
URxvt.font: -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1
!URxvt.bold.font: -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1
URxvt*scrollBar: false
URxvt*mouseWheelScrollPage: false
URxvt*cursorBlink: true
URxvt*saveLines: 5000
! for 'fake' transparency (without Compton) uncomment the following three lines
! URxvt*inheritPixmap: true
! URxvt*transparent: true
! URxvt*shading: 138
! other possible settings:
URxvt.iso14755: false
!URxvt.perl-ext:
!URxvt.perl-ext-common:
URxvt.keysym.Shift-Control-V: eval:paste_clipboard
URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard
!! Cursor word movement
URxvt*altSendsEscape: true
URxvt.keysym.Control-Left: \033[1;5D
URxvt.keysym.Shift-Control-Left: \033[1;6D
URxvt.keysym.Control-Right: \033[1;5C
URxvt.keysym.Shift-Control-Right: \033[1;6C
URxvt.keysym.Control-Up: \033[1;5A
URxvt.keysym.Shift-Control-Up: \033[1;6A
URxvt.keysym.Control-Down: \033[1;5B
URxvt.keysym.Shift-Control-Down: \033[1;6B
URxvt.clipboard.autocopy: false
! URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
! URxvt*termName: string
! URxvt*geometry: geometry
! URxvt*chdir: string
! URxvt*reverseVideo: boolean
! URxvt*loginShell: boolean
! URxvt*multiClickTime: number
! URxvt*jumpScroll: boolean
! URxvt*skipScroll: boolean
! URxvt*pastableTabs: boolean
! URxvt*scrollstyle: plain
! URxvt*scrollBar_right: boolean
! URxvt*scrollBar_floating: true
! URxvt*scrollBar_align: mode
! URxvt*thickness: number
! URxvt*scrollTtyOutput: boolean
! URxvt*scrollTtyKeypress: boolean
! URxvt*scrollWithBuffer: boolean
! URxvt*tintColor: !7DA55
! URxvt*blurRadius: HxV
! URxvt*fading: number
! URxvt*fadeColor: color
! URxvt*utmpInhibit: boolean
! URxvt*urgentOnBell: boolean
! URxvt*visualBell: boolean
! URxvt*mapAlert: boolean
! URxvt*meta8: boolean
! URxvt*tripleclickwords: boolean
! URxvt*insecure: boolean
! URxvt*cursorUnderline: boolean
! URxvt*pointerBlank: boolean

View File

@@ -0,0 +1,5 @@
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc

View File

@@ -0,0 +1,139 @@
#
# ~/.bashrc
#
[[ $- != *i* ]] && return
colors() {
local fgc bgc vals seq0
printf "Color escapes are %s\n" '\e[${value};...;${value}m'
printf "Values 30..37 are \e[33mforeground colors\e[m\n"
printf "Values 40..47 are \e[43mbackground colors\e[m\n"
printf "Value 1 gives a \e[1mbold-faced look\e[m\n\n"
# foreground colors
for fgc in {30..37}; do
# background colors
for bgc in {40..47}; do
fgc=${fgc#37} # white
bgc=${bgc#40} # black
vals="${fgc:+$fgc;}${bgc}"
vals=${vals%%;}
seq0="${vals:+\e[${vals}m}"
printf " %-9s" "${seq0:-(default)}"
printf " ${seq0}TEXT\e[m"
printf " \e[${vals:+${vals+$vals;}}1mBOLD\e[m"
done
echo; echo
done
}
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
# Change the window title of X terminals
case ${TERM} in
xterm*|rxvt*|Eterm*|aterm|kterm|gnome*|interix|konsole*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\007"'
;;
screen*)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\033\\"'
;;
esac
use_color=true
# Set colorful PS1 only on colorful terminals.
# dircolors --print-database uses its own built-in database
# instead of using /etc/DIR_COLORS. Try to use the external file
# first to take advantage of user additions. Use internal bash
# globbing instead of external grep binary.
safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM
match_lhs=""
[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(</etc/DIR_COLORS)"
[[ -z ${match_lhs} ]] \
&& type -P dircolors >/dev/null \
&& match_lhs=$(dircolors --print-database)
[[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true
if ${use_color} ; then
# Enable colors for ls, etc. Prefer ~/.dir_colors #64489
if type -P dircolors >/dev/null ; then
if [[ -f ~/.dir_colors ]] ; then
eval $(dircolors -b ~/.dir_colors)
elif [[ -f /etc/DIR_COLORS ]] ; then
eval $(dircolors -b /etc/DIR_COLORS)
fi
fi
if [[ ${EUID} == 0 ]] ; then
PS1='\[\033[01;31m\][\h\[\033[01;36m\] \W\[\033[01;31m\]]\$\[\033[00m\] '
else
PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] '
fi
alias ls='ls --color=auto'
alias grep='grep --colour=auto'
alias egrep='egrep --colour=auto'
alias fgrep='fgrep --colour=auto'
else
if [[ ${EUID} == 0 ]] ; then
# show root@ when we don't have colors
PS1='\u@\h \W \$ '
else
PS1='\u@\h \w \$ '
fi
fi
unset use_color safe_term match_lhs sh
alias cp="cp -i" # confirm before overwriting something
alias df='df -h' # human-readable sizes
alias free='free -m' # show sizes in MB
alias np='nano -w PKGBUILD'
alias more=less
xhost +local:root > /dev/null 2>&1
complete -cf sudo
# Bash won't get SIGWINCH if another process is in the foreground.
# Enable checkwinsize so that bash will check the terminal size when
# it regains control. #65623
# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
shopt -s checkwinsize
shopt -s expand_aliases
# export QT_SELECT=4
# Enable history appending instead of overwriting. #139609
shopt -s histappend
#
# # ex - archive extractor
# # usage: ex <file>
ex ()
{
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
*.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1;;
*.7z) 7z x $1 ;;
*) echo "'$1' cannot be extracted via ex()" ;;
esac
else
echo "'$1' is not a valid file"
fi
}

View File

@@ -0,0 +1,64 @@
# …………… Beginning of menu ……………
Submenu = Flip
icon = NULL
item = Vertical flip
cmd = bspc desktop -F horizontal
icon = NULL
item = Horizontal flip
cmd = bspc desktop -F vertical
icon = NULL
Submenu = Rotate
icon = NULL
item = +90°
cmd = bspc desktop -R 90
icon = NULL
item = -90°
cmd = bspc desktop -R -90
icon = NULL
item = +180°
cmd = bspc desktop -R 180
icon = NULL
separator
item = Balance windows
cmd = bspc desktop -B
icon = NULL
item = Equalize windows
cmd = bspc desktop -E
icon = NULL
separator
item = Rename current desktop
cmd = bspwm-zenity desktop-rename
icon = NULL
separator
item = Add a desktop
cmd = bspwm-zenity desktop-add
icon = NULL
item = Remove a desktop
cmd = bspwm-zenity desktop-remove
icon = NULL
separator
item = Swap with desktop
cmd = bspwm-zenity desktop-swap
icon = NULL
item = Move to another monitor
cmd =
icon = NULL

View File

@@ -0,0 +1,103 @@
# …………… Beginning of menu ……………
submenu = Flip
icon = /usr/share/icons/Adwaita/scalable/actions/object-flip-horizontal-symbolic.svg
item = Vertical flip
cmd = bspc node @/ -F horizontal
icon = /usr/share/icons/Adwaita/scalable/actions/object-flip-vertical-symbolic.svg
item = Horizontal flip
cmd = bspc node @/ -F vertical
icon = /usr/share/icons/Adwaita/scalable/actions/object-flip-horizontal-symbolic.svg
submenu = Rotate
icon = /usr/share/icons/Adwaita/scalable/actions/view-refresh-symbolic.svg
item = +90°
cmd = bspc node @/ -R 90
icon = /usr/share/icons/Adwaita/scalable/actions/object-rotate-right-symbolic.svg
item = -90°
cmd = bspc node @/ -R -90
icon = /usr/share/icons/Adwaita/scalable/actions/object-rotate-left-symbolic.svg
item = +180°
cmd = bspc node @/ -R 180
icon = /usr/share/icons/Adwaita/scalable/actions/view-refresh-symbolic.svg
separator
item = Balance windows
cmd = bspc node @/ -B
icon = /usr/share/icons/Adwaita/scalable/actions/view-continuous-symbolic.svg
item = Equalize windows
cmd = bspc node @/ -E
icon = /usr/share/icons/Adwaita/scalable/actions/view-grid-symbolic.svg
separator
item = Rename current desktop
cmd = bspc-zen desktop-rename
icon = /usr/share/icons/Adwaita/scalable/devices/pda-symbolic.svg
separator
item = Add a desktop
cmd = bspc-zen desktop-add
icon = /usr/share/icons/Adwaita/scalable/actions/list-add-symbolic.svg
item = Remove a desktop
cmd = bspc-zen desktop-remove
icon = /usr/share/icons/Adwaita/scalable/actions/list-remove-symbolic.svg
item = Swap with desktop
cmd = bspc-zen desktop-swap
icon = /usr/share/icons/Adwaita/scalable/actions/edit-copy-symbolic.svg
separator
item = Toggle focus follows pointer
cmd = toggle-focus-follows-pointer
icon = /usr/share/icons/Adwaita/scalable/devices/input-mouse-symbolic.svg
item = Toggle pointer follows focus
cmd = toggle-pointer-follows-focus
icon = /usr/share/icons/Adwaita/scalable/devices/input-keyboard-symbolic.svg
item = Toggle dynamic gaps
cmd = autogap
icon = /usr/share/icons/Adwaita/scalable/emblems/emblem-important-symbolic.svg
item = Toggle automatic balancing
cmd = euclid_balance
icon = /usr/share/icons/Adwaita/scalable/emblems/emblem-synchronizing-symbolic.svg
#item = Move to another monitor
#cmd =
#icon = NULL
submenu = External rules
icon = /usr/share/icons/Adwaita/scalable/actions/send-to-symbolic.svg
item = Pseudo automatic mode
cmd = bspc config external_rules_command /usr/bin/pseudo_automatic_mode
icon = /usr/share/icons/Adwaita/scalable/actions/bookmark-new-symbolic.svg
item = Euclid mode
cmd = bspc config external_rules_command /usr/bin/euclid_mode
icon = /usr/share/icons/Adwaita/scalable/actions/view-sort-ascending-symbolic.svg
item = Automatic mode
cmd = bspc config external_rules_command no
icon = /usr/share/icons/Adwaita/scalable/emblems/emblem-default-symbolic.svg
item = Manage rules
cmd = roxterm -e bspwm-ruler
icon = /usr/share/icons/Adwaita/scalable/apps/preferences-desktop-keyboard-shortcuts-symbolic.svg
item = Choose wallpaper
cmd = wallpaper
icon = /usr/share/icons/Adwaita/scalable/apps/preferences-desktop-wallpaper-symbolic.svg

View File

@@ -0,0 +1,196 @@
# …………… Beginning of menu ……………
Submenu = Window
icon = NULL
item = Floating
cmd = bspc window -t floating
icon = NULL
item = Monocle
cmd = bspc desktop -l next
icon = NULL
item = Fullscreen
cmd = bspc window -t fullscreen
icon = NULL
item = Pseudo-tiling
cmd = bspc window -t pseudo_tiled
icon = NULL
item = Lock
cmd = bspc window -t locked
icon = NULL
item = Sticky
cmd = bspc window -t sticky
icon = NULL
item = Private
cmd = bspc window -t private
icon = NULL
Submenu = Move to...
icon = NULL
item = Desktop n°...
cmd = bspwm-zenity move-to-desktop
icon = NULL
item = Next empty desktop
cmd = bspc window -d next.free
icon = NULL
item = Last focused desktop
cmd = bspc window -d last
icon = NULL
separator
item = Swap with biggest window
cmd = bspc window -w biggest.local
icon = NULL
item = Move to another monitor
cmd =
icon = NULL
Submenu = Desktop
icon = NULL
Submenu = Flip
icon = NULL
item = Vertical flip
cmd = bspc desktop -F horizontal
icon = NULL
item = Horizontal flip
cmd = bspc desktop -F vertical
icon = NULL
Submenu = Rotate
icon = NULL
item = +90°
cmd = bspc desktop -R 90
icon = NULL
item = -90°
cmd = bspc desktop -R -90
icon = NULL
item = +180°
cmd = bspc desktop -R 180
icon = NULL
separator
item = Balance windows
cmd = bspc desktop -B
icon = NULL
item = Equalize windows
cmd = bspc desktop -E
icon = NULL
separator
item = Rename current desktop
cmd = bspwm-zenity desktop-rename
icon = NULL
separator
item = Add a desktop
cmd = bspwm-zenity desktop-add
icon = NULL
item = Remove a desktop
cmd = bspwm-zenity desktop-remove
icon = NULL
separator
item = Swap with desktop
cmd = bspwm-zenity desktop-swap
icon = NULL
item = Move to another monitor
cmd =
icon = NULL
Submenu = Manual
icon = NULL
Submenu = Manual split
icon = NULL
item = Up
cmd = bspc window -p up
icon = NULL
item = Right
cmd = bspc window -p right
icon = NULL
item = Left
cmd = bspc window -p left
icon = NULL
item = Down
cmd = bspc window -p down
icon = NULL
Submenu = Split ratio
icon = NULL
item = 25%
cmd = bspc window -r 0.25
icon = NULL
item = 50%
cmd = bspc window -r 0.5
icon = NULL
item = 75%
cmd = bspc window -r 0.75
icon = NULL
separator
item = Move to last manual split
cmd = bspc window -w last.manual
icon = NULL
item = Cancel all splits
cmd = bspc desktop -c
icon = NULL
separator
item = Next urgent window
cmd = bspc window -f next.urgent
icon = NULL
separator
item = Close window
cmd = bspc window -c
icon = NULL
item = Close the window class
cmd = xdo close -cd
icon = NULL

View File

@@ -0,0 +1,126 @@
#Bspwm_window_menu
# …………… Beginning of menu ……………
Submenu = Window
icon = NULL
item = Floating
cmd = bspc window -t floating
icon = NULL
item = Monocle
cmd = bspc desktop -l next
icon = NULL
item = Fullscreen
cmd = bspc window -t fullscreen
icon = NULL
item = Pseudo-tiling
cmd = bspc window -t pseudo_tiled
icon = NULL
item = Lock
cmd = bspc window -t locked
icon = NULL
item = Sticky
cmd = bspc window -t sticky
icon = NULL
item = Private
cmd = bspc window -t private
icon = NULL
Submenu = Move to...
icon = NULL
item = Desktop n°...
cmd = bspwm-zenity move-to-desktop
icon = NULL
item = Next empty desktop
cmd = bspc window -d next.free
icon = NULL
item = Last focused desktop
cmd = bspc window -d last
icon = NULL
separator
item = Swap with biggest window
cmd = bspc window -w biggest.local
icon = NULL
item = Move to another monitor
cmd =
icon = NULL
Submenu = Manual
icon = NULL
Submenu = Manual split
icon = NULL
item = Up
cmd = bspc window -p up
icon = NULL
item = Right
cmd = bspc window -p right
icon = NULL
item = Left
cmd = bspc window -p left
icon = NULL
item = Down
cmd = bspc window -p down
icon = NULL
Submenu = Split ratio
icon = NULL
item = 25%
cmd = bspc window -r 0.25
icon = NULL
item = 50%
cmd = bspc window -r 0.5
icon = NULL
item = 75%
cmd = bspc window -r 0.75
icon = NULL
separator
item = Move to last manual split
cmd = bspc window -w last.manual
icon = NULL
item = Cancel all splits
cmd = bspc desktop -c
icon = NULL
separator
item = Next urgent window
cmd = bspc window -f next.urgent
icon = NULL
separator
item = Close window
cmd = bspc window -c
icon = NULL
item = Close the window class
cmd = xdo close -cd
icon = NULL

View File

@@ -0,0 +1,130 @@
#Bspwm_window_menu
# …………… Beginning of menu ……………
submenu = Window
icon = /usr/share/icons/Adwaita/scalable/actions/view-restore-symbolic.svg
item = Floating
cmd = bspc node -t floating
icon = /usr/share/icons/Adwaita/scalable/actions/edit-copy-symbolic.svg
item = Tiled
cmd = bspc node -t tiled
icon = /usr/share/icons/Adwaita/scalable/actions/edit-select-all-symbolic.svg
item = Monocle
cmd = bspc desktop -l next
icon = /usr/share/icons/Adwaita/scalable/actions/window-maximize-symbolic.svg
item = Fullscreen
cmd = bspc node -t fullscreen
icon = /usr/share/icons/Adwaita/scalable/actions/view-fullscreen-symbolic.svg
item = Pseudo-tiling
cmd = bspc node -t pseudo_tiled
icon = /usr/share/icons/Adwaita/scalable/actions/edit-select-all-symbolic.svg
item = Lock
cmd = bspc node -g locked
icon = /usr/share/icons/Adwaita/scalable/status/changes-allow-symbolic.svg
item = Sticky
cmd = bspc node -g sticky
icon = /usr/share/icons/Adwaita/scalable/actions/process-stop-symbolic.svg
item = Private
cmd = bspc node -g private
icon = /usr/share/icons/Adwaita/scalable/actions/star-new-symbolic.svg
submenu = Move to...
icon = /usr/share/icons/Adwaita/scalable/actions/send-to-symbolic.svg
item = Desktop n°...
cmd = bspwm-zenity move-to-desktop
icon = NULL
item = Next empty desktop
cmd = bspc node -d next.free
icon = NULL
item = Last focused desktop
cmd = bspc node -d last
icon = NULL
separator
item = Swap with biggest window
cmd = bspc node -w biggest.local
icon = NULL
item = Move to another monitor
cmd =
icon = NULL
submenu = Manual
icon = /usr/share/icons/Adwaita/scalable/actions/edit-cut-symbolic.svg
submenu = Manual split
icon = /usr/share/icons/Adwaita/scalable/actions/edit-cut-symbolic.svg
item = Up
cmd = bspc node -p north
icon = /usr/share/icons/Adwaita/scalable/actions/go-up-symbolic.svg
item = Right
cmd = bspc node -p east
icon = /usr/share/icons/Adwaita/scalable/actions/go-next-symbolic.svg
item = Left
cmd = bspc node -p west
icon = /usr/share/icons/Adwaita/scalable/actions/go-previous-symbolic.svg
item = Down
cmd = bspc node -p south
icon = /usr/share/icons/Adwaita/scalable/actions/go-down-symbolic.svg
submenu = Split ratio
icon = NULL
item = 25%
cmd = bspc node -o 0.25
icon = NULL
item = 50%
cmd = bspc node -o 0.5
icon = NULL
item = 75%
cmd = bspc node -o 0.75
icon = NULL
separator
item = Move to last manual split
cmd = bspc node -w last.manual
icon = /usr/share/icons/Adwaita/scalable/actions/focus-windows-symbolic.svg
item = Cancel all splits
cmd = bspc desktop -c
icon = /usr/share/icons/Adwaita/scalable/actions/action-unavailable-symbolic.svg
separator
item = Next urgent window
cmd = bspc node -f next.urgent
icon = /usr/share/icons/Adwaita/scalable/actions/focus-windows-symbolic.svg
separator
item = Close window
cmd = bspc node -c
icon = /usr/share/icons/Adwaita/scalable/actions/window-close-symbolic.svg
item = Close the window class
cmd = xdo close -cd
icon = /usr/share/icons/Adwaita/scalable/actions/window-close-symbolic.svg

View File

@@ -0,0 +1,62 @@
item = Applications
cmd = dboxrun
icon = /usr/share/icons/Adwaita/scalable/actions/system-run-symbolic.svg
item = Find
cmd = rofi-finder.sh
icon = /usr/share/icons/Adwaita/scalable/apps/preferences-system-search-symbolic.svg
item = Terminal
cmd = default-terminal
icon = /usr/share/icons/Adwaita/scalable/apps/utilities-terminal-symbolic.svg
item = Browser
cmd = default-browser
icon = /usr/share/icons/Adwaita/scalable/apps/web-browser-symbolic.svg
item = Files
cmd = pcmanfm
icon = /usr/share/icons/Adwaita/scalable/apps/system-file-manager-symbolic.svg
item = Editor
cmd = default-editor
icon = /usr/share/icons/Adwaita/scalable/apps/text-editor-symbolic.svg
item = Package Manager
cmd = default-terminal -e pacui
icon = /usr/share/icons/Adwaita/scalable/apps/system-software-install-symbolic.svg
item = Main menu
cmd = default-terminal -e bmenu
icon = /usr/share/icons/Adwaita/scalable/apps/utilities-system-monitor-symbolic.svg
separator
submenu = Exit
icon = /usr/share/icons/Adwaita/scalable/actions/system-shutdown-symbolic.svg
item = Lock screen
cmd = screenlock
icon = /usr/share/icons/Adwaita/scalable/status/changes-allow-symbolic.svg
item = Logout
cmd = bspc quit 1
icon = /usr/share/icons/Adwaita/scalable/actions/application-exit-symbolic.svg
item = Suspend
cmd = systemctl suspend
icon = /usr/share/icons/Adwaita/scalable/apps/utilities-system-monitor-symbolic.svg
item = Hibenate
cmd = systemctl hibernate
icon = /usr/share/icons/Adwaita/scalable/actions/document-save-symbolic.svg
item = Reboot
cmd = reboot
icon = /usr/share/icons/Adwaita/scalable/actions/view-refresh-symbolic.svg
item = Shutdown
cmd = poweroff
icon = /usr/share/icons/Adwaita/scalable/actions/system-shutdown-symbolic.svg

View File

@@ -0,0 +1,110 @@
menupos = 0 40
iconsize = 25
item = Run
cmd = dboxrun
icon = /usr/share/icons/Adwaita/scalable/actions/system-run-symbolic.svg
item = Applications
cmd = morc_menu
icon = /usr/share/icons/Adwaita/scalable/actions/open-menu-symbolic.svg
item = Find
cmd = finder
icon = /usr/share/icons/Adwaita/scalable/apps/preferences-system-search-symbolic.svg
item = Terminal
cmd = default-terminal
icon = /usr/share/icons/Adwaita/scalable/apps/utilities-terminal-symbolic.svg
item = Browser
cmd = default-browser
icon = /usr/share/icons/Adwaita/scalable/apps/web-browser-symbolic.svg
item = Files
cmd = spacefm
icon = /usr/share/icons/Adwaita/scalable/apps/system-file-manager-symbolic.svg
item = Editor
cmd = default-editor
icon = /usr/share/icons/Adwaita/scalable/apps/text-editor-symbolic.svg
item = Package Manager
cmd = default-terminal -e pacui
icon = /usr/share/icons/Adwaita/scalable/apps/system-software-install-symbolic.svg
item = Main menu
cmd = default-terminal -e bmenu
icon = /usr/share/icons/Adwaita/scalable/apps/utilities-system-monitor-symbolic.svg
separator
submenu = Settings
icon = /usr/share/icons/Adwaita/scalable/emblems/emblem-system-symbolic.svg
item = Keybindings
cmd = default-editor .config/sxhkd/sxhkdrc
icon = /usr/share/icons/Adwaita/scalable/apps/preferences-desktop-keyboard-shortcuts-symbolic.svg
item = Bspwmrc
cmd = default-editor .config/bspwm/bspwmrc
icon = /usr/share/icons/Adwaita/scalable/apps/text-editor-symbolic.svg
item = Autostart
cmd = default-editor .config/bspwm/autostart
icon = /usr/share/icons/Adwaita/scalable/actions/system-run-symbolic.svg
item = Profile
cmd = default-editor .profile
icon = /usr/share/icons/Adwaita/scalable/apps/user-info-symbolic.svg
item = Dmenu settings
cmd = default-editor .dmenurc
icon = /usr/share/icons/Adwaita/scalable/actions/open-menu-symbolic.svg
item = Panel settings
cmd = default-editor .limepanelrc
icon = /usr/share/icons/Adwaita/scalable/actions/document-properties-symbolic.svg
item = Appearance
cmd = lxappearance
icon = /usr/share/icons/Adwaita/scalable/apps/preferences-color-symbolic.svg
item = Firewall
cmd = zensu gufw
icon = /usr/share/icons/Adwaita/scalable/status/security-high-symbolic.svg
item = Network
cmd = default-terminal -e nmtui
icon = /usr/share/icons/Adwaita/scalable/apps/preferences-system-network-symbolic.svg
separator
submenu = Exit
icon = /usr/share/icons/Adwaita/scalable/actions/system-shutdown-symbolic.svg
item = Lock screen
cmd = screenlock
icon = /usr/share/icons/Adwaita/scalable/status/changes-allow-symbolic.svg
item = Logout
cmd = bspc quit 1
icon = /usr/share/icons/Adwaita/scalable/actions/application-exit-symbolic.svg
item = Suspend
cmd = systemctl suspend
icon = /usr/share/icons/Adwaita/scalable/apps/utilities-system-monitor-symbolic.svg
item = Hibenate
cmd = systemctl hibernate
icon = /usr/share/icons/Adwaita/scalable/actions/document-save-symbolic.svg
item = Reboot
cmd = reboot
icon = /usr/share/icons/Adwaita/scalable/actions/view-refresh-symbolic.svg
item = Shutdown
cmd = poweroff
icon = /usr/share/icons/Adwaita/scalable/actions/system-shutdown-symbolic.svg

View File

@@ -0,0 +1,617 @@
item = Terminal
cmd = termite
icon = NULL
item = Browser
cmd = firefox
icon = NULL
item = Filemanager
cmd = spacefm
icon = NULL
item = Settings
cmd = xfce4-settings-manager
icon = NULL
separator
Submenu = Development
icon = NULL
item = Geany
cmd = geany
icon = NULL
item = OpenJDK Policy Tool
cmd = policytool
icon = NULL
item = Qt Assistant
cmd = /usr/lib/qt/bin/assistant
icon = NULL
item = Qt Designer
cmd = /usr/lib/qt/bin/designer
icon = NULL
item = Qt Linguist
cmd = /usr/lib/qt/bin/linguist
icon = NULL
item = Qt QDbusViewer
cmd = /usr/lib/qt/bin/qdbusviewer
icon = NULL
item = Qt4 Assistant
cmd = assistant-qt4
icon = NULL
item = Qt4 Designer
cmd = designer-qt4
icon = NULL
item = Qt4 Linguist
cmd = linguist-qt4
icon = NULL
item = Qt4 QDbusViewer
cmd = qdbusviewer-qt4
icon = NULL
Submenu = Editors
icon = NULL
item = Leafpad
cmd = leafpad
icon = NULL
item = Vi IMproved
cmd = gvim
icon = NULL
Submenu = Graphics
icon = NULL
item = GNU Image Manipulation Program
cmd = gimp-2.8
icon = NULL
item = Image Viewer
cmd = gpicview
icon = NULL
item = Simple Scan
cmd = simple-scan
icon = NULL
Submenu = Multimedia
icon = NULL
item = Audacious
cmd = audacious
icon = NULL
item = Audio Mixer
cmd = xfce4-mixer
icon = NULL
item = Cheese
cmd = cheese
icon = NULL
item = PulseAudio Volume Control
cmd = pavucontrol
icon = NULL
item = VLC media player
cmd = vlc
icon = NULL
item = VolWheel
cmd = volwheel
icon = NULL
Submenu = Network
icon = NULL
item = Avahi SSH Server Browser
cmd = bssh
icon = NULL
item = Avahi VNC Server Browser
cmd = bvnc
icon = NULL
item = dwb
cmd = dwb
icon = NULL
item = Empathy
cmd = empathy
icon = NULL
item = Firefox
cmd = firefox
icon = NULL
item = Google Chrome (unstable)
cmd = google-chrome-unstable
icon = NULL
item = Mail Reader
cmd = exo-open --launch MailReader
icon = NULL
item = Midori Private Browsing
cmd = midori
icon = NULL
item = nmcli_dmenu
cmd = nmcli_dmenu
icon = NULL
item = Pidgin Internet Messenger
cmd = pidgin
icon = NULL
item = Skype
cmd = skype
icon = NULL
item = Transmission
cmd = transmission-gtk
icon = NULL
item = Web
cmd = epiphany
icon = NULL
item = Web Browser
cmd = exo-open --launch WebBrowser
icon = NULL
Submenu = Office
icon = NULL
item = Document Viewer
cmd = evince
icon = NULL
item = LibreOffice Impress
cmd = libreoffice
icon = NULL
item = Zathura
cmd = zathura
icon = NULL
Submenu = Other
icon = NULL
item = About LXQt
cmd = lxqt-about
icon = NULL
item = CMake
cmd = cmake-gui
icon = NULL
item = compton
cmd = compton
icon = NULL
item = DockX
cmd = dockx
icon = NULL
item = Docky
cmd = docky
icon = NULL
item = Galculator
cmd = galculator
icon = NULL
item = IcedTea-Web Control Panel
cmd = itweb-settings
icon = NULL
item = Isousb
cmd = gksu isousb
icon = NULL
item = Plank
cmd = plank
icon = NULL
item = Qt V4L2 test Utility
cmd = qv4l2
icon = NULL
Submenu = Shells
icon = NULL
item = Files
cmd = nautilus
icon = NULL
item = LXTerminal
cmd = lxterminal
icon = NULL
item = Nautilus-Actions Configuration Tool
cmd = nautilus-actions-config-tool
icon = NULL
item = Oracle VM VirtualBox
cmd = VirtualBox
icon = NULL
item = PCManFM File Manager
cmd = pcmanfm-qt
icon = NULL
item = Root Terminal
cmd = gksu -l gnome-terminal
icon = NULL
item = Termite
cmd = termite
icon = NULL
item = Thunar File Manager
cmd = thunar
icon = NULL
item = termite
cmd = termite
icon = NULL
item = termite (client)
cmd = termitec
icon = NULL
item = termite (tabbed)
cmd = termite-tabbed
icon = NULL
item = UXTerm
cmd = uxterm
icon = NULL
item = Xfce Terminal
cmd = xfce4-terminal
icon = NULL
item = XTerm
cmd = xterm
icon = NULL
Submenu = System
icon = NULL
Submenu = Settings
icon = NULL
Submenu = GNOME
icon = NULL
item = Adobe Flash Player
cmd = flash-player-properties
icon = NULL
item = DockbarX Preference
cmd = dbx_preference
icon = NULL
item = Network Connections
cmd = nm-connection-editor
icon = NULL
item = Plank Config
cmd = plank-config
icon = NULL
item = Privilege granting
cmd = gksu-properties
icon = NULL
item = Theme Configuration
cmd = gtk-theme-config
icon = NULL
Submenu = Xfce
icon = NULL
item = Settings Manager
cmd = xfce4-settings-manager
icon = NULL
item = Accessibility
cmd = xfce4-accessibility-settings
icon = NULL
item = Appearance
cmd = xfce4-appearance-settings
icon = NULL
item = Appearance
cmd = lxqt-config-appearance
icon = NULL
item = Customize Look and Feel
cmd = lxappearance
icon = NULL
item = Date and Time
cmd = lxqt-admin-time
icon = NULL
item = Desktop
cmd = xfdesktop-settings
icon = NULL
item = Desktop Notifications
cmd = lxqt-config-notificationd
icon = NULL
item = Disks
cmd = gnome-disks
icon = NULL
item = Display
cmd = xfce4-display-settings
icon = NULL
item = File Associations
cmd = lxqt-config-file-associations
icon = NULL
item = File Manager
cmd = thunar-settings
icon = NULL
item = Keyboard
cmd = xfce4-keyboard-settings
icon = NULL
item = Keyboard and Mouse
cmd = lxqt-config-input
icon = NULL
item = LXQt System Settings
cmd = lxqt-config
icon = NULL
item = Manage Printing
cmd = xdg-open http://localhost:631/
icon = NULL
item = Manjaro Settings Manager
cmd = manjaro-settings-manager
icon = NULL
item = MIME Type Editor
cmd = xfce4-mime-settings
icon = NULL
item = Monitor settings
cmd = lxqt-config-monitor
icon = NULL
item = Mouse and Touchpad
cmd = xfce4-mouse-settings
icon = NULL
item = NVIDIA X Server Settings
cmd = nvidia-settings
icon = NULL
item = Panel
cmd = xfce4-panel --preferences
icon = NULL
item = Power Management
cmd = lxqt-config-powermanagement
icon = NULL
item = Power Manager
cmd = xfce4-power-manager-settings
icon = NULL
item = Preferred Applications
cmd = exo-preferred-applications
icon = NULL
item = Preferred Applications
cmd = libfm-pref-apps
icon = NULL
item = Print Settings
cmd = system-config-printer
icon = NULL
item = Removable Drives and Media
cmd = thunar-volman-settings
icon = NULL
item = Search and Indexing
cmd = tracker-preferences
icon = NULL
item = Session and Startup
cmd = xfce4-session-settings
icon = NULL
item = Session Settings
cmd = lxqt-config-session
icon = NULL
item = Settings Editor
cmd = xfce4-settings-editor
icon = NULL
item = Shortcut Keys
cmd = lxqt-config-globalkeyshortcuts
icon = NULL
item = Users and Groups
cmd = lxqt-admin-user
icon = NULL
item = Window Manager
cmd = xfwm4-settings
icon = NULL
item = Window Manager Tweaks
cmd = xfwm4-tweaks-settings
icon = NULL
item = Workspaces
cmd = xfwm4-workspace-settings
icon = NULL
item = Add/Remove Software
cmd = pamac-manager
icon = NULL
item = Avahi Zeroconf Browser
cmd = avahi-discover
icon = NULL
item = b2im
cmd = termite -e b2im
icon = NULL
item = BleachBit
cmd = bleachbit
icon = NULL
item = Bulk Rename
cmd = /usr/lib/Thunar/ThunarBulkRename
icon = NULL
item = dconf Editor
cmd = dconf-editor
icon = NULL
item = Disk Usage Analyzer
cmd = baobab
icon = NULL
item = Htop
cmd = termite -e htop
icon = NULL
item = Leave
cmd = lxqt-power
icon = NULL
item = Log Out
cmd = xfce4-session-logout
icon = NULL
item = Logs
cmd = gnome-logs
icon = NULL
item = Network Tools
cmd = gnome-nettool
icon = NULL
item = Sensor Viewer
cmd = xfce4-sensors
icon = NULL
item = Settings
cmd = gnome-control-center --overview
icon = NULL
item = Software Update
cmd = pamac-updater
icon = NULL
item = System Log
cmd = gnome-system-log
icon = NULL
item = Yaourt-Gui
cmd = termite -e yaourt-gui
icon = NULL
Submenu = Utilities
icon = NULL
item = 7-Zip FM
cmd = 7zFM
icon = NULL
item = About Xfce
cmd = xfce4-about
icon = NULL
item = ADesk Menu
cmd = adeskmenu
icon = NULL
item = Application Finder
cmd = xfce4-appfinder
icon = NULL
item = Archive Manager
cmd = file-roller
icon = NULL
item = ClipIt
cmd = clipit
icon = NULL
item = Contacts
cmd = gnome-contacts
icon = NULL
item = Desktop Search
cmd = tracker-needle
icon = NULL
item = File Manager
cmd = exo-open --launch FileManager
icon = NULL
item = Gnome-Pie
cmd = gnome-pie
icon = NULL
item = HP Device Manager
cmd = hp-toolbox
icon = NULL
item = Pie Dock
cmd = piedock
icon = NULL
item = Run Program...
cmd = xfce4-appfinder --collapsed
icon = NULL
item = Screenshot
cmd = gnome-screenshot --interactive
icon = NULL
item = SpaceFM File Search
cmd = spacefm
icon = NULL
item = Terminal Emulator
cmd = exo-open --launch TerminalEmulator
icon = NULL
item = Tweak Tool
cmd = gnome-tweak-tool
icon = NULL
separator
item = Update menu
cmd = update_menu.sh
icon = NULL

View File

@@ -0,0 +1,17 @@
item = Terminal
cmd = termite
icon = NULL
item = Browser
cmd = firefox
icon = NULL
item = Filemanager
cmd = spacefm
icon = NULL
item = Settings
cmd = xfce4-settings-manager
icon = NULL
separator

View File

@@ -0,0 +1,5 @@
separator
item = Update menu
cmd = update_menu.sh
icon = NULL

View File

@@ -0,0 +1,2 @@
[General]
theme=KvAdaptaMaiaDark

View File

@@ -0,0 +1,8 @@
[FileDialog]
history=file:///home/vectorkappa/Obrazy, file:///run/media/vectorkappa/System/Users/VectorKappa/Desktop
lastVisited=file:///run/media/vectorkappa/System/Users/VectorKappa/Desktop
qtVersion=5.13.2
shortcuts=file:, file:///home/vectorkappa
sidebarWidth=90
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xec\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xff\0\0\0\x1\0\0\0\0\0\0\0?\0\0\0\x1\0\0\0\0\0\0\0@\0\0\0\x1\0\0\0\0\0\0\0n\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff)
viewMode=Detail

View File

@@ -0,0 +1,13 @@
<?xml encoding="UTF-8" version="1.0"?>
<actions>
<action>
<icon>utilities-terminal</icon>
<name>Open Terminal Here</name>
<unique-id>1552337724953608-1</unique-id>
<command>exo-open --working-directory %f --launch TerminalEmulator</command>
<description>Example for a custom action</description>
<patterns>*</patterns>
<startup-notify/>
<directories/>
</action>
</actions>

View File

@@ -0,0 +1,20 @@
[Qt]
font="Sans Serif,9,-1,5,50,0,0,0,0,0"
Palette\active=#000000, #d4d0c8, #ffffff, #e9e7e3, #6a6864, #a0a0a4, #000000, #ffffff, #000000, #ffffff, #d4d0c8, #000000, #000080, #ffffff, #0000ff, #ff00ff, #e9e7e3, #000000, #ffffdc, #000000
Palette\inactive=#000000, #d4d0c8, #ffffff, #e9e7e3, #6a6864, #a0a0a4, #000000, #ffffff, #000000, #ffffff, #d4d0c8, #000000, #000080, #ffffff, #0000ff, #ff00ff, #e9e7e3, #000000, #ffffdc, #000000
Palette\disabled=#6a6864, #d4d0c8, #ffffff, #e9e7e3, #6a6864, #a0a0a4, #6a6864, #ffffff, #6a6864, #d4d0c8, #d4d0c8, #000000, #000080, #ffffff, #0000ff, #ff00ff, #e9e7e3, #000000, #ffffdc, #000000
fontPath=@Invalid()
embedFonts=true
style=GTK+
doubleClickInterval=400
cursorFlashTime=1000
wheelScrollLines=3
resolveSymlinks=false
globalStrut\width=0
globalStrut\height=0
useRtlExtensions=false
XIMInputStyle=On The Spot
DefaultInputMethod=xim
audiosink=Auto
videomode=Auto
GUIEffects=none

View File

@@ -0,0 +1,5 @@
[Desktop Entry]
Type=Application
Name=ma-launcher
Comment=create Manjaro-Architect launcher
Exec=/usr/bin/ma-launcher

View File

@@ -0,0 +1,52 @@
##run_once is a script in /usr/bin that prevents running script if it is running already
##
## Load appearance settings
xsetroot -cursor_name left_ptr &
export GTK2_RC_FILES="$HOME/.gtkrc-2.0" &
xrdb merge .Xresources &
## Wallpaper. Nitrogen just draws wallpaper,
sh ~/.fehbg &
## compositing. Required for shadows, transparency and stuff.
# Alter compton settings if using intel graphics
GRAPHIC_CARD=$(lspci | grep -i "vga" | sed 's/.*://' | sed 's/(.*//' | sed 's/^[ \t]*//')
if [[ $(echo $GRAPHIC_CARD | grep -i 'intel\|lenovo') != "" ]]; then MCODE='initrd=\intel-ucode.img'
sed -i 's/"xrender"/"glx"/' ~/.config/compton.conf
grep -q 'vsync = "opengl-swc";' ~/.config/compton.conf || echo 'vsync = "opengl-swc";' >> ~/.config/compton.conf
fi
## Reduces flicker. Disabling saves resources.
compton -b &
## enable local fonts in .fonts directory
xset +fp /usr/share/fonts/local &
xset +fp /usr/share/fonts/misc &
xset +fp ~/.fonts &
xset fp rehash &
fc-cache -fv &
## Automount removable media
devmon &
## powersaving options
xset s off &
xset s noblank &
xset s noexpose &
xset c on &
xset -dpms &
xbacklight -set 15 &
## Run screenlock when suspending
light-locker &
## Make monitor settings persist between reboots
eval $(awk -F'=' '/Exec=/ {print $2}' ~/.config/autostart/lxrandr-autostart.desktop) &
## Notify about package updates
update-checker 7200 &
## Map super key to trigger rofi when used alone
xcape -e 'Super_L=Super_L|Shift_L|space' &
## Polkit agent
/usr/lib/mate-polkit/polkit-mate-authentication-agent-1 &
## Gnome keyring
gnome-keyring-daemon &
thunar --daemon &
/usr/lib/mate-notification-daemon/mate-notification-daemon &
## Welcome message
sleep 1 && notify-send "Welcome to Manjaro-bspwm! " "Press super + F1 to show keybindings" &
$HOME/.config/polybar/launch.sh

View File

@@ -0,0 +1,64 @@
##run_once is a script in /usr/bin that prevents running script if it is running already
##
## Load appearance settings
xsetroot -cursor_name left_ptr &
export GTK2_RC_FILES="$HOME/.gtkrc-2.0" &
xrdb merge .Xresources &
## Wallpaper. Nitrogen just draws wallpaper,
sh ~/.fehbg &
## compositing. Required for shadows, transparency and stuff.
# Alter compton settings if using intel graphics
GRAPHIC_CARD=$(lspci | grep -i "vga" | sed 's/.*://' | sed 's/(.*//' | sed 's/^[ \t]*//')
if [[ $(echo $GRAPHIC_CARD | grep -i 'intel\|lenovo') != "" ]]; then MCODE='initrd=\intel-ucode.img'
sed -i 's/"xrender"/"glx"/' ~/.config/compton.conf
grep -q 'vsync = "opengl-swc";' ~/.config/compton.conf || echo 'vsync = "opengl-swc";' >> ~/.config/compton.conf
fi
## Reduces flicker. Disabling saves resources.
compton -b &
## enable local fonts in .fonts directory
xset +fp /usr/share/fonts/local &
xset +fp /usr/share/fonts/misc &
xset +fp ~/.fonts &
xset fp rehash &
fc-cache -fv &
## Automount removable media
devmon &
## powersaving options
xset s off &
xset s noblank &
xset s noexpose &
xset c on &
xset -dpms &
xbacklight -set 15 &
## Run screenlock when suspending
light-locker &
## Make monitor settings persist between reboots
eval $(awk -F'=' '/Exec=/ {print $2}' ~/.config/autostart/lxrandr-autostart.desktop) &
## Notify about package updates
update-checker 7200 &
## Map super key to trigger rofi when used alone
xcape -e 'Super_L=Super_L|Shift_L|space' &
## Polkit agent
/usr/lib/mate-polkit/polkit-mate-authentication-agent-1 &
## Gnome keyring
gnome-keyring-daemon &
thunar --daemon &
/usr/lib/mate-notification-daemon/mate-notification-daemon &
## Welcome message
sleep 1 && notify-send "Welcome to Manjaro-bspwm! " "Press super + F1 to show keybindings" &
#!/usr/bin/env bash
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
polybar bar1 >>/tmp/polybar1.log 2>&1 &
polybar bar2 >>/tmp/polybar2.log 2>&1 &
echo "Bars launched..."

View File

@@ -0,0 +1,52 @@
##run_once is a script in /usr/bin that prevents running script if it is running already
##
## Load appearance settings
xsetroot -cursor_name left_ptr &
export GTK2_RC_FILES="$HOME/.gtkrc-2.0" &
xrdb merge .Xresources &
## Wallpaper. Nitrogen just draws wallpaper,
sh ~/.fehbg &
## compositing. Required for shadows, transparency and stuff.
# Alter compton settings if using intel graphics
GRAPHIC_CARD=$(lspci | grep -i "vga" | sed 's/.*://' | sed 's/(.*//' | sed 's/^[ \t]*//')
if [[ $(echo $GRAPHIC_CARD | grep -i 'intel\|lenovo') != "" ]]; then MCODE='initrd=\intel-ucode.img'
sed -i 's/"xrender"/"glx"/' ~/.config/compton.conf
grep -q 'vsync = "opengl-swc";' ~/.config/compton.conf || echo 'vsync = "opengl-swc";' >> ~/.config/compton.conf
fi
## Reduces flicker. Disabling saves resources.
compton -b &
## enable local fonts in .fonts directory
xset +fp /usr/share/fonts/local &
xset +fp /usr/share/fonts/misc &
xset +fp ~/.fonts &
xset fp rehash &
fc-cache -fv &
## Automount removable media
devmon &
## powersaving options
xset s off &
xset s noblank &
xset s noexpose &
xset c on &
xset -dpms &
xbacklight -set 15 &
## Run screenlock when suspending
light-locker &
## Make monitor settings persist between reboots
eval $(awk -F'=' '/Exec=/ {print $2}' ~/.config/autostart/lxrandr-autostart.desktop) &
## Notify about package updates
update-checker 7200 &
## Map super key to trigger rofi when used alone
xcape -e 'Super_L=Super_L|Shift_L|space' &
## Polkit agent
/usr/lib/mate-polkit/polkit-mate-authentication-agent-1 &
## Gnome keyring
gnome-keyring-daemon &
thunar --daemon &
/usr/lib/mate-notification-daemon/mate-notification-daemon &
## Welcome message
sleep 1 && notify-send "Welcome to Manjaro-bspwm! " "Press super + F1 to show keybindings" &
# $HOME/.config/polybar/launch.sh

View File

@@ -0,0 +1,121 @@
#! /bin/sh
gap=15
PANEL_HEIGHT=27
export gap
export PANEL_HEIGHT
#This creates negative padding equal to window gap so that gaps are shown only between windows and not on desktop edges.
bspc config window_gap $gap;
bspc config top_padding $(($PANEL_HEIGHT-$gap))
bspc config left_padding -$gap
bspc config right_padding -$gap
bspc config bottom_padding -$gap
#Various settings
bspc config gapless_monocle false #Default setup uses negative padding, and gapless monocle looks really weird like that
bspc config borderless_monocle true
bspc config single_monocle true
bspc config paddingless_monocle false
#bspc config ignore_ewmh_focus true
#bspc config initial_polarity second_child
bspc config remove_disabled_monitors true
bspc config remove_unplugged_monitors true
## Honor size hints: do not make windows smaller than they wish to be
#bspc config honor_size_hints true
##Color settings
bspc config focused_border_color "#1ABB9B"
bspc config normal_border_color "#222D32"
#"#000000"
bspc config presel_feedback_color "#1ABB9B"
#"#8F3724"
bspc config border_width 1
bspc config focus_follows_pointer true
#bspc config pointer_follows_focus true #Some keybindings automatically enable and disable this setting
#Settings for manual splitting
bspc config split_ratio 0.52
#bspc monitor -d i ii iii iv v vi vii viii ix x
#bspc monitor -d One Two Three Four Five Six Seven Eight Nine Ten
#bspc monitor -d I II III IV V VI VII VIII IX X
#bspc monitor -d • • • • • • • • • •
#bspc monitor -d I II III IV V VI
###This creates and names desktops for multiple monitors.
workspaces_multimonitor &
bspc rule -a screenkey --unmanage
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 urxvt state=floating center=true
bspc rule -a viewnior state=floating center=true
bspc rule -a file-roller state=floating center=true
bspc rule -a floaterm state=floating center=true
bspc rule -a spotify state=pseudo_tiled
#bspc rule -a nautilus state=pseudo_tiled
#bspc rule -a skype state=pseudo_tiled
bspc rule -a file-roller state=pseudo_tiled
bspc rule -a transmission-gtk state=pseudo_tiled
bspc rule -a conky sticky=on manage=off lower=on
bspc rule -a astime sticky=on
bspc rule -a yad state=floating
bspc rule -a Docky layer=above border=off manage=on
bspc rule -a Plank layer=above border=off manage=on
bspc rule -a wbar layer=above
bspc rule -a dockbarx layer=above
bspc rule -a google-chrome-unstable private=on
bspc rule -a google-chrome-stable private=on
bspc rule -a chromium private=on
bspc rule -a firefox private=on
bspc rule -a midori private=on
bspc rule -a gnome-pie border=off manage=off
bspc rule -a wpa_gui state=pseudo_tiled
bspc rule -a libreoffice state=tiled
bspc rule -a '*:libreofficedev' state=tiled
bspc rule -a '*:soffice' state=tiled
bspc rule -a firefox desktop=I
bspc rule -a brave-browser desktop=I
#bspc rule -a calibre desktop=II
#bspc rule -a geany desktop=II
#bspc rule -a deluge desktop=III
bspc rule -a polybar border=off
bspc rule -a 9menu border=off manage=off
bspc rule -a tint2 border=off manage=off
#bspc desktop I --layout monocle
#bspc desktop II --layout monocle
## Autogap adjusts windowgap automatically according to the number of
## windows on the desktop. Using it disables negative window gap.
#autogap &
## This script balances all windows when new one is spawned
#euclid_balancer &
##Edge-switcher switches to next workspace when moves moves to the
##edge of the monitor (behavior similar to enlightenment)
#edge-switcher &
###External rules
##Pseudo automatic mode: always splits focused window when opening new window
bspc config external_rules_command /usr/bin/pseudo_automatic_mode
##Adjust new window: splits biggest windows to keep windows about the same size
#bspc config external_rules_command /usr/bin/adjust-new-window
##Autostart apps
#Keybindings daemon
#sxhkd &
#Source autostartfile. Uncomment this if you use bspwm-git
#. $HOME/.config/bspwm/autostart
# limepanel &
# Alter compton settings if using intel graphics
GRAPHIC_CARD=$(lspci | grep -i "vga" | sed 's/.*://' | sed 's/(.*//' | sed 's/^[ \t]*//')
if [[ $(echo $GRAPHIC_CARD | grep -i 'intel\|lenovo') != "" ]]; then MCODE='initrd=\intel-ucode.img'
sed -i 's/"xrender"/"glx"/' ~/.config/compton.conf
grep -q 'vsync = "opengl-swc";' ~/.config/compton.conf || echo 'vsync = "opengl-swc";' >> ~/.config/compton.conf
fi

View File

@@ -0,0 +1,121 @@
#! /bin/sh
gap=15
PANEL_HEIGHT=27
export gap
export PANEL_HEIGHT
#This creates negative padding equal to window gap so that gaps are shown only between windows and not on desktop edges.
bspc config window_gap $gap;
bspc config top_padding $(($PANEL_HEIGHT-$gap))
bspc config left_padding -$gap
bspc config right_padding -$gap
bspc config bottom_padding -$gap
#Various settings
bspc config gapless_monocle false #Default setup uses negative padding, and gapless monocle looks really weird like that
bspc config borderless_monocle true
bspc config single_monocle true
bspc config paddingless_monocle false
#bspc config ignore_ewmh_focus true
#bspc config initial_polarity second_child
bspc config remove_disabled_monitors true
bspc config remove_unplugged_monitors true
## Honor size hints: do not make windows smaller than they wish to be
#bspc config honor_size_hints true
##Color settings
bspc config focused_border_color "#1ABB9B"
bspc config normal_border_color "#222D32"
#"#000000"
bspc config presel_feedback_color "#1ABB9B"
#"#8F3724"
bspc config border_width 1
bspc config focus_follows_pointer true
#bspc config pointer_follows_focus true #Some keybindings automatically enable and disable this setting
#Settings for manual splitting
bspc config split_ratio 0.52
#bspc monitor -d i ii iii iv v vi vii viii ix x
#bspc monitor -d One Two Three Four Five Six Seven Eight Nine Ten
#bspc monitor -d I II III IV V VI VII VIII IX X
#bspc monitor -d • • • • • • • • • •
#bspc monitor -d I II III IV V VI
###This creates and names desktops for multiple monitors.
workspaces_multimonitor &
bspc rule -a screenkey --unmanage
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 urxvt state=floating center=true
bspc rule -a viewnior state=floating center=true
bspc rule -a file-roller state=floating center=true
bspc rule -a floaterm state=floating center=true
bspc rule -a spotify state=pseudo_tiled
#bspc rule -a nautilus state=pseudo_tiled
#bspc rule -a skype state=pseudo_tiled
bspc rule -a file-roller state=pseudo_tiled
bspc rule -a transmission-gtk state=pseudo_tiled
bspc rule -a conky sticky=on manage=off lower=on
bspc rule -a astime sticky=on
bspc rule -a yad state=floating
bspc rule -a Docky layer=above border=off manage=on
bspc rule -a Plank layer=above border=off manage=on
bspc rule -a wbar layer=above
bspc rule -a dockbarx layer=above
bspc rule -a google-chrome-unstable private=on
bspc rule -a google-chrome-stable private=on
bspc rule -a chromium private=on
bspc rule -a firefox private=on
bspc rule -a midori private=on
bspc rule -a gnome-pie border=off manage=off
bspc rule -a wpa_gui state=pseudo_tiled
bspc rule -a libreoffice state=tiled
bspc rule -a '*:libreofficedev' state=tiled
bspc rule -a '*:soffice' state=tiled
bspc rule -a firefox desktop=I
bspc rule -a brave-browser desktop=^1
#bspc rule -a calibre desktop=II
#bspc rule -a geany desktop=II
#bspc rule -a deluge desktop=III
bspc rule -a polybar border=off
bspc rule -a 9menu border=off manage=off
bspc rule -a tint2 border=off manage=off
#bspc desktop I --layout monocle
#bspc desktop II --layout monocle
## Autogap adjusts windowgap automatically according to the number of
## windows on the desktop. Using it disables negative window gap.
#autogap &
## This script balances all windows when new one is spawned
#euclid_balancer &
##Edge-switcher switches to next workspace when moves moves to the
##edge of the monitor (behavior similar to enlightenment)
#edge-switcher &
###External rules
##Pseudo automatic mode: always splits focused window when opening new window
bspc config external_rules_command /usr/bin/pseudo_automatic_mode
##Adjust new window: splits biggest windows to keep windows about the same size
#bspc config external_rules_command /usr/bin/adjust-new-window
##Autostart apps
#Keybindings daemon
#sxhkd &
#Source autostartfile. Uncomment this if you use bspwm-git
#. $HOME/.config/bspwm/autostart
# limepanel &
# Alter compton settings if using intel graphics
GRAPHIC_CARD=$(lspci | grep -i "vga" | sed 's/.*://' | sed 's/(.*//' | sed 's/^[ \t]*//')
if [[ $(echo $GRAPHIC_CARD | grep -i 'intel\|lenovo') != "" ]]; then MCODE='initrd=\intel-ucode.img'
sed -i 's/"xrender"/"glx"/' ~/.config/compton.conf
grep -q 'vsync = "opengl-swc";' ~/.config/compton.conf || echo 'vsync = "opengl-swc";' >> ~/.config/compton.conf
fi

View File

@@ -0,0 +1,113 @@
# Shadow
shadow = true;
# no-dnd-shadow = true;
detect-rounded-corners = true;
shadow-radius = 5;
shadow-offset-x = 1;
shadow-offset-y = 1;
shadow-opacity = .3;
shadow-ignore-shaped = true;
shadow-exclude = [
"name = 'Notification'",
# workaround for conky until it provides window properties:
"override_redirect = 1 && !WM_CLASS@:s",
"class_g ?= 'Dmenu'",
# "class_g ?= 'Dunst'",
# disable shadows for hidden windows:
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"_GTK_FRAME_EXTENTS@:c",
# disables shadows on sticky windows:
# "_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'",
# disables shadows on i3 frames
"class_g ?= 'i3-frame'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Bspwm'",
"class_g = 'Rofi'",
];
# shadow-exclude-reg = "x10+0+0";
# xinerama-shadow-crop = true;
#menu-opacity = 0.95;
#inactive-opacity = 0.93;
#active-opacity = 1;
#alpha-step = 0.01;
#inactive-dim = 0.0;
#blur-background = false;
#blur-kern = "3x3box";
fading = true;
fade-in-step = 0.08;
fade-out-step = 0.005;
fade-exclude = [ "name = 'i3lock'" ];
backend = "glx";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
use-ewmh-active-win = true;
detect-client-opacity = true;
unredir-if-possible = true;
refresh-rate = 0;
#vsync = "opengl-swc";
dbe = false;
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
glx-copy-from-front = false;
glx-swap-method = "undefined";
#opacity-rule = [
#"99:name *?= 'Call'",
#"99:class_g = 'Chromium'",
#"99:name *?= 'Conky'",
#"99:class_g = 'Darktable'",
#"50:class_g = 'Dmenu'",
#"99:name *?= 'Event'",
#"99:class_g = 'Firefox'",
#"99:class_g = 'GIMP'",
#"99:name *?= 'Image'",
#"99:class_g = 'Lazpaint'",
#"99:class_g = 'Midori'",
#"99:name *?= 'Minitube'",
#"99:class_g = 'Mousepad'",
#"99:name *?= 'MuseScore'",
#"90:name *?= 'Page Info'",
#"99:name *?= 'Pale Moon'",
#"90:name *?= 'Panel'",
#"99:class_g = 'Pinta'",
#"90:name *?= 'Restart'",
#"99:name *?= 'sudo'",
#"99:name *?= 'Screenshot'",
#"99:class_g = 'Viewnior'",
#"99:class_g = 'VirtualBox'",
#"99:name *?= 'VLC'",
#"99:name *?= 'Write'",
#"93:class_g = 'URxvt' && !_NET_WM_STATE@:32a",
#"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
#"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
#];
wintypes :
{
tooltip :
{
fade = true;
shadow = false;
opacity = 0.85;
focus = true;
};
fullscreen :
{
fade = true;
shadow = false;
opacity = 1;
focus = true;
};
};
inactive-dim-fixed = true;
blur-background = false;
fade-delta = 1;
opacity-rule = [ "10:class_g = 'Bspwm' && class_i = 'presel_feedback'" ];
no-fading-openclose = false;

View File

@@ -0,0 +1,4 @@
{
"optOut": false,
"lastUpdateCheck": 1574748136845
}

Binary file not shown.

View File

@@ -0,0 +1,10 @@
chromium
midori
nm-applet
geany
wallpaper
spacefm
finder
gedit
lxappearance
sxiv

View File

@@ -0,0 +1,10 @@
ranger
htop
postinstall
yaourt-gui
pacli
mhwd-tui
nano
vim
vi
Thunar

View File

@@ -0,0 +1,306 @@
[global]
frame_width = 1
frame_color = "#788388"
font = Noto Sans 10
# Allow a small subset of html markup:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough</s>
# <u>underline</u>
#
# For a complete reference see
# <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
# If markup is not allowed, those tags will be stripped out of the
# message.
markup = yes
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# Markup is allowed
format = "%s %p\n%b"
# Sort messages by urgency.
sort = yes
# Show how many messages are currently hidden (because of geometry).
indicate_hidden = yes
# Alignment of message text.
# Possible values are "left", "center" and "right".
alignment = left
# The frequency with wich text that is longer than the notification
# window allows bounces back and forth.
# This option conflicts with "word_wrap".
# Set to 0 to disable.
bounce_freq = 5
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
show_age_threshold = 60
# Split notifications into multiple lines if they don't fit into
# geometry.
word_wrap = no
# Ignore newlines '\n' in notifications.
ignore_newline = no
# The geometry of the window:
# [{width}]x{height}[+/-{x}+/-{y}]
# The geometry of the message window.
# The height is measured in number of notifications everything else
# in pixels. If the width is omitted but the height is given
# ("-geometry x2"), the message window expands over the whole screen
# (dmenu-like). If width is 0, the window expands to the longest
# message displayed. A positive x is measured from the left, a
# negative from the right side of the screen. Y is measured from
# the top and down respectevly.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
geometry = "0x4-25+25"
# Shrink window if it's smaller than the width. Will be ignored if
# width is 0.
shrink = yes
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing windowmanager is
# present (e.g. xcompmgr, compiz, etc.).
transparency = 15
# Don't remove messages, if the user is idle (no mouse or keyboard input)
# for longer than idle_threshold seconds.
# Set to 0 to disable.
# default 120
idle_threshold = 120
# Which monitor should the notifications be displayed on.
monitor = 0
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
# keyboard: follow window with keyboard focus
# none: don't follow anything
#
# "keyboard" needs a windowmanager that exports the
# _NET_ACTIVE_WINDOW property.
# This should be the case for almost all modern windowmanagers.
#
# If this option is set to mouse or keyboard, the monitor option
# will be ignored.
follow = mouse
# Should a notification popped up from history be sticky or timeout
# as if it would normally do.
sticky_history = yes
# Maximum amount of notifications kept in history
history_length = 20
# Display indicators for URLs (U) and actions (A).
show_indicators = yes
# The height of a single line. If the height is smaller than the
# font height, it will get raised to the font height.
# This adds empty space above and under the text.
line_height = 0
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
separator_height = 1
# Padding between text and separator.
# padding = 8
padding = 8
# Horizontal padding.
horizontal_padding = 10
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = #263238
# Print a notification on startup.
# This is mainly for error detection, since dbus (re-)starts dunst
# automatically after a crash.
startup_notification = false
# dmenu path.
dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = palemoon
# Align icons left/right/off
icon_position = left
# Paths to default icons.
icon_path = /usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/
# Limit icons size.
max_icon_size=128
[shortcuts]
# Shortcuts are specified as [modifier+][modifier+]...key
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
# "mod3" and "mod4" (windows-key).
# Xev might be helpful to find names for keys.
# Close notification.
close = mod1+space
# Close all notifications.
# close_all = ctrl+shift+space
close_all = ctrl+mod1+space
# Redisplay last message(s).
# On the US keyboard layout "grave" is normally above TAB and left
# of "1".
history = ctrl+mod4+h
# Context menu.
context = ctrl+mod1+c
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#263238"
foreground = "#556064"
timeout = 10
[urgency_normal]
background = "#263238"
foreground = "#F9FAF9"
timeout = 10
[urgency_critical]
background = "#D62929"
foreground = "#F9FAF9"
timeout = 0
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
# Messages can be matched by "appname", "summary", "body", "icon", "category",
# "msg_urgency" and you can override the "timeout", "urgency", "foreground",
# "background", "new_icon" and "format".
# Shell-like globbing will get expanded.
#
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: if you don't want a notification to be displayed, set the format
# to "".
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# format = ""
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
#[Claws Mail]
# appname = claws-mail
# category = email.arrived
# urgency = normal
# background = "#2F899E"
# foreground = "#FFA247"
#
#[mute.sh]
# appname = mute
# category = mute.sound
# script = mute.sh
#
#[JDownloader]
# appname = JDownloader
# category = JD
# background = "#FFA247"
# foreground = "#FFFFFF"
#
#[newsbeuter]
# summary = *Feeds*
# background = "#A8EB41"
# foreground = "#FFFFFF"
#
[irc]
appname = weechat
timeout = 0
background = "#0033bb"
foreground = "#dddddd"
#
[weechat hl]
appname = weechat
category = weechat.HL
background = "#FF5C47"
foreground = "#FFFFFF"
#
[weechat pn]
appname = weechat
category = weechat.PM
background = "#D53B84"
foreground = "#FFFFFF"
#
#[CMUS]
# appname = CMUS
# category = cmus
# background = "#6C4AB7"
# foreground = "#FFE756"
#
#
# background = "#30AB70"
# foreground = "#F67245"
#
# vim: ft=cfg
[speech]
summary = "*"
script = webdad-speech.sh

View File

@@ -0,0 +1,11 @@
[Filechooser Settings]
LocationMode=path-bar
ShowHidden=true
ShowSizeColumn=true
GeometryX=540
GeometryY=250
GeometryWidth=840
GeometryHeight=630
SortColumn=name
SortOrder=ascending
StartupMode=recent

View File

@@ -0,0 +1 @@
sftp://patalong.pl/

View File

@@ -0,0 +1,4 @@
.window-frame {
box-shadow: none;
margin: 0;
}

View File

@@ -0,0 +1,9 @@
[Settings]
gtk-theme-name=Adapta-Nokto-Eta-Maia
gtk-icon-theme-name=Papirus-Dark-Maia
gtk-font-name=Noto Sans 11
gtk-cursor-theme-name=xcursor-breeze
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb

View File

@@ -0,0 +1,26 @@
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=39
sort_direction=1
hide_threads=0
hide_kernel_threads=1
hide_userland_threads=0
shadow_other_users=0
show_thread_names=0
show_program_path=1
highlight_base_name=0
highlight_megabytes=1
highlight_threads=1
tree_view=0
header_margin=1
detailed_cpu_time=0
cpu_count_from_zero=0
update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=0
delay=15
left_meters=AllCPUs Memory Swap
left_meter_modes=1 1 1
right_meters=Tasks LoadAverage Uptime
right_meter_modes=2 2 2

View File

@@ -0,0 +1,2 @@
[General]
canvasState=OPENGL_SUCCESS

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,45 @@
# Configuration file for the libfm version 1.3.0.2.
# Autogenerated file, don't edit, your changes will be overwritten.
[config]
single_click=1
use_trash=0
confirm_del=1
confirm_trash=1
advanced_mode=0
si_unit=0
force_startup_notify=1
backup_as_hidden=1
no_usb_trash=1
no_child_non_expandable=0
show_full_names=0
only_user_templates=0
template_run_app=0
template_type_once=0
auto_selection_delay=500
drop_default_action=auto
defer_content_test=0
quick_exec=0
terminal=sterminal
archiver=file-roller
thumbnail_local=1
thumbnail_max=2048
smart_desktop_autodrop=1
[ui]
big_icon_size=48
small_icon_size=24
pane_icon_size=24
thumbnail_size=128
show_thumbnail=1
shadow_hidden=0
[places]
places_home=1
places_desktop=1
places_root=0
places_computer=0
places_trash=1
places_applications=1
places_network=0
places_unmounted=1

View File

@@ -0,0 +1,17 @@
# Generated by Gestures 0.2.2 --> https://gitlab.com/cunidev/gestures
# Manual editing might result in data loss!
# Invalid lines
# Unsupported lines
# Swipe threshold (0-100)
swipe_threshold 0
# Gestures
gesture swipe up 3 xdotool key ctrl+t
gesture swipe down 3 xdotool key ctrl+w
gesture swipe left 3 xdotool key alt+Left
gesture swipe right 3 xdotool key alt+Right

View File

@@ -0,0 +1,112 @@
{
"Up": "CursorUp",
"Down": "CursorDown",
"Right": "CursorRight",
"Left": "CursorLeft",
"ShiftUp": "SelectUp",
"ShiftDown": "SelectDown",
"ShiftLeft": "SelectLeft",
"ShiftRight": "SelectRight",
"CtrlLeft": "WordLeft",
"CtrlRight": "WordRight",
"AltUp": "MoveLinesUp",
"AltDown": "MoveLinesDown",
"CtrlShiftRight": "SelectWordRight",
"CtrlShiftLeft": "SelectWordLeft",
"AltLeft": "StartOfLine",
"AltRight": "EndOfLine",
"AltShiftLeft": "SelectToStartOfLine",
"ShiftHome": "SelectToStartOfLine",
"AltShiftRight": "SelectToEndOfLine",
"ShiftEnd": "SelectToEndOfLine",
"CtrlUp": "ParagraphPrevious",
"CtrlDown": "ParagraphNext",
"CtrlShiftUp": "SelectToStart",
"CtrlShiftDown": "SelectToEnd",
"Enter": "InsertNewline",
"CtrlH": "DeleteWordLeft",
"Backspace": "Backspace",
"Alt-CtrlH": "DeleteWordLeft",
"Alt-Backspace": "DeleteWordLeft",
"CtrlW": "DeleteWordLeft",
"Tab": "IndentSelection,InsertTab",
"Backtab": "OutdentSelection,OutdentLine",
"CtrlO": "OpenFile",
"Alto": "fzf.fzf",
"CtrlS": "Save",
"CtrlF": "Find",
"CtrlN": "FindNext",
"CtrlP": "FindPrevious",
"CtrlZ": "Undo",
"CtrlY": "Redo",
"CtrlC": "Copy",
"CtrlX": "Cut",
"CtrlK": "CutLine",
"CtrlD": "DuplicateLine",
"CtrlV": "Paste",
"CtrlA": "SelectAll",
"CtrlT": "AddTab",
"Alt,": "PreviousTab",
"Alt.": "NextTab",
"Home": "StartOfLine",
"End": "EndOfLine",
"CtrlHome": "CursorStart",
"CtrlEnd": "CursorEnd",
"PageUp": "CursorPageUp",
"PageDown": "CursorPageDown",
"CtrlG": "ToggleHelp",
"CtrlR": "ToggleRuler",
"CtrlL": "JumpLine",
"Delete": "Delete",
"CtrlB": "ShellMode",
"CtrlQ": "Quit",
"CtrlE": "CommandMode",
"CtrlU": "ToggleMacro",
"CtrlJ": "PlayMacro",
"\u001b[1;2A": "SelectUp",
"\u001b[1;2B": "SelectDown",
"\u001b[1;2C": "SelectRight",
"\u001b[1;2D": "SelectLeft",
"\u001b[1;5D": "WordLeft",
"\u001b[1;5C": "WordRight",
"\u001b[1;3A": "MoveLinesUp",
"\u001b[1;3B": "MoveLinesDown",
"\u001b[1;6C": "SelectWordRight",
"\u001b[1;6D": "SelectWordLeft",
"\u001b[1;3D": "StartOfLine",
"\u001b[1;3C": "EndOfLine",
"\u001b[1;4D": "SelectToStartOfLine",
"\u001b[1;4C": "SelectToEndOfLine",
"\u001b[1;5A": "ParagraphPrevious",
"\u001b[1;5B": "ParagraphNext",
"\u001b[1;6A": "SelectToStart",
"\u001b[1;6B": "SelectToEnd",
// Emacs-style keybindings
"Alt-f": "WordRight",
"Alt-b": "WordLeft",
"Alt-a": "StartOfLine",
"Alt-e": "EndOfLine",
// Integration with file managers
"F1": "ToggleHelp",
"F2": "Save",
"F3": "Find",
"F4": "Quit",
"F7": "Find",
"F10": "Quit",
"Esc": "Escape",
// Mouse bindings
"MouseWheelUp": "ScrollUp",
"MouseWheelDown": "ScrollDown",
"MouseLeft": "MousePress",
"MouseMiddle": "PastePrimary",
"Ctrl-MouseLeft": "MouseMultiCursor",
// Multiple cursors bindings
"Alt-n": "SpawnMultiCursor",
"Alt-p": "RemoveMultiCursor",
"Alt-c": "RemoveAllMultiCursors",
"Alt-x": "SkipMultiCursor",
}

Binary file not shown.

View File

@@ -0,0 +1,7 @@
# Comment Plugin for Micro
This plugin provides automatic commenting/uncommenting for micro.
Install with `> plugin install comment`.
See the [docs](https://github.com/micro-editor/comment-plugin/blob/master/help/comment-plugin.md) for more details.

View File

@@ -0,0 +1,105 @@
VERSION = "1.0.6"
ft = {}
ft["c"] = "// %s"
ft["go"] = "// %s"
ft["python"] = "# %s"
ft["python3"] = "# %s"
ft["html"] = "<!-- %s -->"
ft["java"] = "// %s"
ft["perl"] = "# %s"
ft["rust"] = "// %s"
ft["shell"] = "# %s"
ft["lua"] = "-- %s"
ft["javascript"] = "// %s"
ft["ruby"] = "# %s"
ft["d"] = "// %s"
ft["swift"] = "// %s"
function onViewOpen(v)
if v.Buf.Settings["commenttype"] == nil then
if ft[v.Buf.Settings["filetype"]] ~= nil then
v.Buf.Settings["commenttype"] = ft[v.Buf.Settings["filetype"]]
else
v.Buf.Settings["commenttype"] = "# %s"
end
end
end
function commentLine(lineN)
local v = CurView()
local line = v.Buf:Line(lineN)
local commentType = v.Buf.Settings["commenttype"]
local commentRegex = "^%s*" .. commentType:gsub("%*", "%*"):gsub("%-", "%-"):gsub("%.", "%."):gsub("%+", "%+"):gsub("%]", "%]"):gsub("%[", "%["):gsub("%%s", "(.*)")
local sel = -v.Buf.Cursor.CurSelection
local curpos = -v.Buf.Cursor.Loc
local index = string.find(commentType, "%%s") - 1
if string.match(line, commentRegex) then
uncommentedLine = string.match(line, commentRegex)
v.Buf:Replace(Loc(0, lineN), Loc(#line, lineN), GetLeadingWhitespace(line) .. uncommentedLine)
if v.Buf.Cursor:HasSelection() then
v.Buf.Cursor.CurSelection[1].Y = sel[1].Y
v.Buf.Cursor.CurSelection[2].Y = sel[2].Y
v.Buf.Cursor.CurSelection[1].X = sel[1].X
v.Buf.Cursor.CurSelection[2].X = sel[2].X
else
v.Buf.Cursor.X = curpos.X - index
v.Buf.Cursor.Y = curpos.Y
end
else
local commentedLine = commentType:gsub("%%s", trim(line))
v.Buf:Replace(Loc(0, lineN), Loc(#line, lineN), GetLeadingWhitespace(line) .. commentedLine)
if v.Buf.Cursor:HasSelection() then
v.Buf.Cursor.CurSelection[1].Y = sel[1].Y
v.Buf.Cursor.CurSelection[2].Y = sel[2].Y
v.Buf.Cursor.CurSelection[1].X = sel[1].X
v.Buf.Cursor.CurSelection[2].X = sel[2].X
else
v.Buf.Cursor.X = curpos.X + index
v.Buf.Cursor.Y = curpos.Y
end
end
v.Cursor:Relocate()
v.Cursor.LastVisualX = v.Cursor:GetVisualX()
end
function commentSelection(startLine, endLine)
for line = startLine, endLine do
commentLine(line)
end
end
function comment()
local v = CurView()
if v.Cursor:HasSelection() then
if v.Cursor.CurSelection[1]:GreaterThan(-v.Cursor.CurSelection[2]) then
local endLine = v.Cursor.CurSelection[1].Y
if v.Cursor.CurSelection[1].X == 0 then
endLine = endLine - 1
end
commentSelection(v.Cursor.CurSelection[2].Y, endLine)
else
local endLine = v.Cursor.CurSelection[2].Y
if v.Cursor.CurSelection[2].X == 0 then
endLine = endLine - 1
end
commentSelection(v.Cursor.CurSelection[1].Y, endLine)
end
else
commentLine(v.Cursor.Y)
end
end
function trim(s)
return (s:gsub("^%s*(.-)%s*$", "%1"))
end
function string.starts(String,Start)
return string.sub(String,1,string.len(Start))==Start
end
MakeCommand("comment", "comment.comment")
BindKey("Alt-/", "comment.comment")
AddRuntimeFile("comment", "help", "help/comment-plugin.md")

View File

@@ -0,0 +1,59 @@
# Comment Plugin
The comment plugin provides auto commenting/uncommenting.
The default binding to comment/uncomment a line is `Alt-/`,
but you can easily modify that in your `bindings.json` file:
```json
{
"Alt-g": "comment.comment"
}
```
You can also execute a command which will do the same thing as
the binding:
```
> comment
```
If you have a selection, the plugin will comment all the lines
selected.
The comment type will be auto detected based on the filetype,
but it is only available for certain filetypes:
* c: `// %s`
* c++: `// %s`
* d: `// %s`
* go: `// %s`
* html: `<!-- %s -->`
* java: `// %s`
* javascript: `// %s`
* julia: `# %s`
* lua: `-- %s`
* perl: `# %s`
* php: `// %s`
* python: `# %s`
* python3: `# %s`
* ruby: `# %s`
* rust: `// %s`
* shell: `# %s`
* swift: `// %s`
If your filetype is not available here, you can simply modify
the `commenttype` option:
```
set commenttype "/* %s */"
```
Or in your `settings.json`:
```json
{
"*.c": {
"commenttype": "/* %s */"
}
}
```

View File

@@ -0,0 +1,14 @@
[{
"Name": "comment",
"Description": "Plugin to auto comment or uncomment lines",
"Tags": ["comment", "uncomment"],
"Versions": [
{
"Version": "1.0.6",
"Url": "https://github.com/micro-editor/comment-plugin/archive/v1.0.6.zip",
"Require": {
"micro": ">=1.1.0"
}
}
]
}]

View File

@@ -0,0 +1,12 @@
Copyright (c) 2016, Samantha Marshall
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of Samantha Marshall nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -0,0 +1,11 @@
function fzf
set -l epoch (date "+%s")
set -l file_path $TMPDIR/fzf-$epoch.result
command fzf $argv >$file_path
if test $status -eq 0 -a -s $file_path
cat $file_path
end
if test -e $file_path
rm $file_path
end
end

View File

@@ -0,0 +1,16 @@
VERSION = "2.0.0"
MakeCommand("fzf", "fzf.fzf", 0)
function fzf()
if CurView():CanClose() then
RunTermEmulator("fzf", false, true, "fzf.handleFzfOutput")
end
end
function handleFzfOutput(output)
local strings = import("strings")
CurView():Open(strings.TrimSpace(output))
end
AddRuntimeFile("fzf", "help", "help/fzf.md")

View File

@@ -0,0 +1,31 @@
# About the fzf plugin
This plugin provides support for opening files via [fzf](https://github.com/junegunn/fzf).
# Commands
The plugin providies the following commands:
* `fzf`: launch `fzf` to find a file to open.
# Troubleshooting
There is a [known issue](https://github.com/fish-shell/fish-shell/issues/1362) when using fzf with fish shell. To work around this, you should create a new fish shell function called `fzf` to be trigged instead of the `fzf` command directly. You can copy and past the following snippet into the file:
$FISH_CONFIG_PATH/functions/fzf.fish
```
function fzf
set -l epoch (date "+%s")
set -l file_path $TMPDIR/fzf-$epoch.result
command fzf $argv >$file_path
if test $status -eq 0 -a -s $file_path
cat $file_path
end
if test -e $file_path
rm $file_path
end
end
```

View File

@@ -0,0 +1,23 @@
# fzf plugin for micro
This repository holds the [fzf](https://github.com/junegunn/fzf) plugin for [micro](https://github.com/zyedidia/micro)
# Troubleshooting
There is a [known issue](https://github.com/fish-shell/fish-shell/issues/1362) when using fzf with fish shell. To work around this, you should create a new fish shell function called `fzf` to be trigged instead of the `fzf` command directly. You can copy and past the following snippet into the file:
$FISH_CONFIG_PATH/functions/fzf.fish
```
function fzf
set -l epoch (date "+%s")
set -l file_path $TMPDIR/fzf-$epoch.result
command fzf $argv >$file_path
if test $status -eq 0 -a -s $file_path
cat $file_path
end
if test -e $file_path
rm $file_path
end
end
```

View File

@@ -0,0 +1,16 @@
[
{
"Name": "fzf",
"Description": "adds support to opening files via fzf",
"Tags": ["fzf"],
"Versions": [
{
"Version": "1.0.5",
"Url": "https://github.com/samdmarshall/micro-fzf-plugin/archive/v1.0.5.zip",
"Require": {
"micro": ">=1.1.2"
}
}
]
}
]

View File

@@ -0,0 +1,46 @@
{
"autoclose": true,
"autoindent": true,
"autosave": false,
"basename": false,
"colorcolumn": 0,
"colorscheme": "default",
"cursorline": true,
"eofnewline": false,
"fastdirty": false,
"fileformat": "unix",
"ftoptions": true,
"ignorecase": false,
"indentchar": " ",
"infobar": true,
"keepautoindent": true,
"keymenu": false,
"linter": true,
"literate": true,
"matchbrace": true,
"mouse": true,
"pluginchannels": [
"https://raw.githubusercontent.com/micro-editor/plugin-channel/master/channel.json"
],
"pluginrepos": [],
"rmtrailingws": false,
"ruler": true,
"savecursor": false,
"savehistory": true,
"saveundo": false,
"scrollbar": false,
"scrollmargin": 3,
"scrollspeed": 2,
"softwrap": true,
"splitbottom": true,
"splitright": true,
"statusline": true,
"sucmd": "sudo",
"syntax": true,
"tabmovement": false,
"tabsize": 4,
"tabstospaces": false,
"termtitle": false,
"trimdiff": false,
"useprimary": true
}

View File

@@ -0,0 +1,20 @@
[Added Associations]
text/plain=micro.desktop;libreoffice-writer.desktop;
application/x-shellscript=micro.desktop;atom.desktop;
image/svg+xml=firefox.desktop;
text/x-scheme=micro.desktop;
application/xml=firefox.desktop;
application/pdf=krita_pdf.desktop;xreader.desktop;libreoffice-draw.desktop;
image/png=xviewer.desktop;
image/jpeg=xviewer.desktop;
audio/mpeg=mpv.desktop;audacity.desktop;
image/gif=org.qutebrowser.qutebrowser.desktop;
image/vnd.adobe.photoshop=gimp.desktop;
audio/x-ms-wma=mpv.desktop;
audio/x-wav=audacity.desktop;
text/html=atom.desktop;
[Default Applications]
text/plain=micro.desktop
application/pdf=xreader.desktop
x-scheme-handler/discord-450485984333660181=discord-450485984333660181.desktop

View File

@@ -0,0 +1 @@
start=5.673000

View File

@@ -0,0 +1 @@
start=41.814618

View File

@@ -0,0 +1 @@
start=3.960000

View File

@@ -0,0 +1 @@
start=31.830561

View File

@@ -0,0 +1 @@
start=53.179059

View File

@@ -0,0 +1 @@
start=78.959661

View File

@@ -0,0 +1 @@
start=72.855001

View File

@@ -0,0 +1,21 @@
[dmenu]
# dmenu_command = /usr/bin/dmenu
# # Note that dmenu_command can contain arguments as well like `rofi -width 30`
# # Rofi and dmenu are set to case insensitive by default `-i`
# l = number of lines to display, defaults to number of total network options
# fn = font string
# nb = normal background (name, #RGB, or #RRGGBB)
# nf = normal foreground
# sb = selected background
# sf = selected foreground
# b = (just set to empty value and menu will appear at the bottom
# m = number of monitor to display on
# p = Custom Prompt for the networks menu
# pinentry 25 Pinentry command
rofi_highlight = True
dmenu_command = /usr/bin/rofi -dmenu -config "~/.config/rofi/config-monocle.rasi" -theme-str "#window { location: northeast; border: 0; }"
[editor]
terminal = default-terminal
gui_if_available = True
# terminal = <name of terminal program>
# gui_if_available = <True or False>

View File

@@ -0,0 +1,4 @@
[xin_-1]
file=/usr/share/backgrounds/i3_default_background.jpg
mode=5
bgcolor=#002A36

View File

@@ -0,0 +1,12 @@
[geometry]
posx=565
posy=60
sizex=377
sizey=591
[nitrogen]
view=list
recurse=true
sort=alpha
icon_caps=false
dirs=/usr/share/backgrounds

View File

@@ -0,0 +1,408 @@
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; To learn more about how to configure Polybar
; go to https://github.com/polybar/polybar
;
; The README contains a lot of information
;
;==========================================================
[colors]
;background = ${xrdb:color0:#222}
background = #222
background-alt = #444
;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf
foreground-alt = #555
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
[bar/example]
;monitor = ${env:MONITOR:HDMI-1}
width = 100%
height = 27
;offset-x = 1%
;offset-y = 1%
radius = 6.0
fixed-center = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3
line-color = #f00
border-size = 4
border-color = #00000000
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
modules-left = rofi bspwm
modules-center = mpd title
modules-right = xbacklight pulseaudio memory cpu wlan eth battery temperature date powermenu
tray-position = right
tray-padding = 2
;tray-background = #0063ff
wm-restack = bspwm
;override-redirect = true
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
cursor-click = pointer
cursor-scroll = ns-resize
[module/xwindow]
type = internal/xwindow
label = %title:0:30:...%
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-prefix-underline = ${colors.secondary}
label-layout = %layout%
label-layout-underline = ${colors.secondary}
label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground-alt}
[module/bspwm]
type = internal/bspwm
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused-padding = 2
label-occupied = %index%
label-occupied-padding = 2
label-urgent = %index%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %index%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
; Separator in between workspaces
; label-separator = |
ws-icon-0 = Web;
ws-icon-1 = Terminals;♛
ws-icon-2 = Info;♜
ws-icon-3 = Code;♝
ws-icon-7 = Communication;♞
; ws-icon-default =
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
icon-prev = 
icon-stop = 
icon-play = 
icon-pause = 
icon-next = 
label-song-maxlen = 25
label-song-ellipsis = true
[module/xbacklight]
type = internal/xbacklight
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = |
bar-indicator-foreground = #fff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
[module/backlight-acpi]
inherit = module/xbacklight
type = internal/backlight
card = intel_backlight
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #f90000
label = %percentage:2%%
[module/title]
type = internal/xwindow
; Available tags:
; <label> (default)
format = <label>
format-foreground = ${colors.foreground-alt}
format-padding = 0
label = %title%
label-maxlen = 40
; Used instead of label when there is no window title
; Available tokens:
; None
label-empty =
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #4bffdc
label = %percentage_used%%
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected = <ramp-signal> <label-connected>
format-connected-underline = #9f78e1
label-connected = %essid%
format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
[module/eth]
type = internal/network
interface = enp4s0f2
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S
format-prefix = 
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5
label = %date% %time%
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <label-volume> <bar-volume>
label-volume = VOL %percentage%%
label-volume-foreground = ${root.foreground}
label-muted = 🔇 muted
label-muted-foreground = #666
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
[module/alsa]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
label-volume = VOL
label-volume-foreground = ${root.foreground}
format-muted-prefix = " "
format-muted-foreground = ${colors.foreground-alt}
label-muted = sound muted
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
[module/battery]
type = internal/battery
battery = BAT0
adapter = ADP1
full-at = 98
format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffb52a
format-discharging = <animation-discharging> <label-discharging>
format-discharging-underline = ${self.format-charging-underline}
format-full-prefix = " "
format-full-prefix-foreground = ${colors.foreground-alt}
format-full-underline = ${self.format-charging-underline}
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
animation-discharging-0 = 
animation-discharging-1 = 
animation-discharging-2 = 
animation-discharging-foreground = ${colors.foreground-alt}
animation-discharging-framerate = 750
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 60
format = <ramp> <label>
format-underline = #f50a4d
format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-warn = %temperature-c%
label-warn-foreground = ${colors.secondary}
ramp-0 = 
ramp-1 = 
ramp-2 = 
ramp-foreground = ${colors.foreground-alt}
[module/powermenu]
type = custom/menu
expand-right = true
format-spacing = 1
label-open = 
label-open-foreground = ${colors.secondary}
label-close =  cancel
label-close-foreground = ${colors.secondary}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
[module/rofi]
type = custom/script
click-left = rofimenu
label = M
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
;pseudo-transparency = false
[global/wm]
margin-top = 0
margin-bottom = 0
; vim:ft=dosini

View File

@@ -0,0 +1,384 @@
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; To learn more about how to configure Polybar
; go to https://github.com/polybar/polybar
;
; The README contains a lot of information
;
;==========================================================
[colors]
;background = ${xrdb:color0:#222}
background = #222
background-alt = #444
;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf
foreground-alt = #555
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
[bar/example]
;monitor = ${env:MONITOR:HDMI-1}
width = 100%
height = 27
;offset-x = 1%
;offset-y = 0
radius = 6.0
fixed-center = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3
line-color = #f00
border-size = 4
border-color = #00000000
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
modules-left = rofi bspwm
modules-center = mpd
modules-right = filesystem xbacklight pulseaudio memory cpu wlan eth battery temperature date powermenu
tray-position = right
tray-padding = 2
;tray-background = #0063ff
;wm-restack = bspwm
;override-redirect = true
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
cursor-click = pointer
cursor-scroll = ns-resize
[module/xwindow]
type = internal/xwindow
label = %title:0:30:...%
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-prefix-underline = ${colors.secondary}
label-layout = %layout%
label-layout-underline = ${colors.secondary}
label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground-alt}
[module/bspwm]
type = internal/bspwm
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused-padding = 2
label-occupied = %index%
label-occupied-padding = 2
label-urgent = %index%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %index%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
; Separator in between workspaces
; label-separator = |
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
icon-prev = 
icon-stop = 
icon-play = 
icon-pause = 
icon-next = 
label-song-maxlen = 25
label-song-ellipsis = true
[module/xbacklight]
type = internal/xbacklight
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = |
bar-indicator-foreground = #fff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
[module/backlight-acpi]
inherit = module/xbacklight
type = internal/backlight
card = intel_backlight
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #f90000
label = %percentage:2%%
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #4bffdc
label = %percentage_used%%
[module/wlan]
type = internal/network
interface = net1
interval = 3.0
format-connected = <ramp-signal> <label-connected>
format-connected-underline = #9f78e1
label-connected = %essid%
format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
[module/eth]
type = internal/network
interface = eno1
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S
format-prefix = 
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5
label = %date% %time%
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <label-volume> <bar-volume>
label-volume = VOL %percentage%%
label-volume-foreground = ${root.foreground}
label-muted = 🔇 muted
label-muted-foreground = #666
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
[module/alsa]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
label-volume = VOL
label-volume-foreground = ${root.foreground}
format-muted-prefix = " "
format-muted-foreground = ${colors.foreground-alt}
label-muted = sound muted
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
[module/battery]
type = internal/battery
battery = BAT0
adapter = ADP1
full-at = 98
format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffb52a
format-discharging = <animation-discharging> <label-discharging>
format-discharging-underline = ${self.format-charging-underline}
format-full-prefix = " "
format-full-prefix-foreground = ${colors.foreground-alt}
format-full-underline = ${self.format-charging-underline}
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
animation-discharging-0 = 
animation-discharging-1 = 
animation-discharging-2 = 
animation-discharging-foreground = ${colors.foreground-alt}
animation-discharging-framerate = 750
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 60
format = <ramp> <label>
format-underline = #f50a4d
format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-warn = %temperature-c%
label-warn-foreground = ${colors.secondary}
ramp-0 = 
ramp-1 = 
ramp-2 = 
ramp-foreground = ${colors.foreground-alt}
[module/powermenu]
type = custom/menu
expand-right = true
format-spacing = 1
label-open = 
label-open-foreground = ${colors.secondary}
label-close =  cancel
label-close-foreground = ${colors.secondary}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
[module/rofi]
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
;pseudo-transparency = false
[global/wm]
margin-top = 5
margin-bottom = 5
; vim:ft=dosini

View File

@@ -0,0 +1,405 @@
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; To learn more about how to configure Polybar
; go to https://github.com/polybar/polybar
;
; The README contains a lot of information
;
;==========================================================
[colors]
;background = ${xrdb:color0:#222}
background = #222
background-alt = #444
;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf
foreground-alt = #555
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
[bar/example]
;monitor = ${env:MONITOR:HDMI-1}
width = 100%
height = 27
;offset-x = 1%
;offset-y = 1%
radius = 6.0
fixed-center = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3
line-color = #f00
border-size = 4
border-color = #00000000
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
modules-left = rofi bspwm
modules-center = mpd title
modules-right = xbacklight pulseaudio memory cpu wlan eth battery temperature date powermenu
tray-position = right
tray-padding = 2
;tray-background = #0063ff
wm-restack = bspwm
;override-redirect = true
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
cursor-click = pointer
cursor-scroll = ns-resize
[module/xwindow]
type = internal/xwindow
label = %title:0:30:...%
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-prefix-underline = ${colors.secondary}
label-layout = %layout%
label-layout-underline = ${colors.secondary}
label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground-alt}
[module/bspwm]
type = internal/bspwm
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused-padding = 2
label-occupied = %index%
label-occupied-padding = 2
label-urgent = %index%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %index%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
ws-icon-0 = web;
ws-icon-1 = terminals;♛
ws-icon-2 = info;♜
ws-icon-3 = code;♝
ws-icon-8 = social;♞
; Separator in between workspaces
; label-separator = |
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
icon-prev = 
icon-stop = 
icon-play = 
icon-pause = 
icon-next = 
label-song-maxlen = 25
label-song-ellipsis = true
[module/xbacklight]
type = internal/xbacklight
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = |
bar-indicator-foreground = #fff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
[module/backlight-acpi]
inherit = module/xbacklight
type = internal/backlight
card = intel_backlight
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #f90000
label = %percentage:2%%
[module/title]
type = internal/xwindow
; Available tags:
; <label> (default)
format = <label>
format-foreground = ${colors.foreground-alt}
format-padding = 0
label = %title%
label-maxlen = 40
; Used instead of label when there is no window title
; Available tokens:
; None
label-empty =
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #4bffdc
label = %percentage_used%%
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected = <ramp-signal> <label-connected>
format-connected-underline = #9f78e1
label-connected = %essid%
format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
[module/eth]
type = internal/network
interface = enp4s0f2
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S
format-prefix = 
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5
label = %date% %time%
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <label-volume> <bar-volume>
label-volume = VOL %percentage%%
label-volume-foreground = ${root.foreground}
label-muted = 🔇 muted
label-muted-foreground = #666
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
[module/alsa]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
label-volume = VOL
label-volume-foreground = ${root.foreground}
format-muted-prefix = " "
format-muted-foreground = ${colors.foreground-alt}
label-muted = sound muted
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
[module/battery]
type = internal/battery
battery = BAT0
adapter = ADP1
full-at = 98
format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffb52a
format-discharging = <animation-discharging> <label-discharging>
format-discharging-underline = ${self.format-charging-underline}
format-full-prefix = " "
format-full-prefix-foreground = ${colors.foreground-alt}
format-full-underline = ${self.format-charging-underline}
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
animation-discharging-0 = 
animation-discharging-1 = 
animation-discharging-2 = 
animation-discharging-foreground = ${colors.foreground-alt}
animation-discharging-framerate = 750
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 60
format = <ramp> <label>
format-underline = #f50a4d
format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-warn = %temperature-c%
label-warn-foreground = ${colors.secondary}
ramp-0 = 
ramp-1 = 
ramp-2 = 
ramp-foreground = ${colors.foreground-alt}
[module/powermenu]
type = custom/menu
expand-right = true
format-spacing = 1
label-open = 
label-open-foreground = ${colors.secondary}
label-close =  cancel
label-close-foreground = ${colors.secondary}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
[module/rofi]
type = custom/script
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
;pseudo-transparency = false
[global/wm]
margin-top = 0
margin-bottom = 0
; vim:ft=dosini

View File

@@ -0,0 +1,408 @@
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; To learn more about how to configure Polybar
; go to https://github.com/polybar/polybar
;
; The README contains a lot of information
;
;==========================================================
[colors]
;background = ${xrdb:color0:#222}
background = #222
background-alt = #444
;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf
foreground-alt = #555
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
[bar/example]
;monitor = ${env:MONITOR:HDMI-1}
width = 100%
height = 27
;offset-x = 1%
;offset-y = 1%
radius = 6.0
fixed-center = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3
line-color = #f00
border-size = 4
border-color = #00000000
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
modules-left = rofi bspwm
modules-center = mpd title
modules-right = xbacklight pulseaudio memory cpu wlan eth battery temperature date powermenu
tray-position = right
tray-padding = 2
;tray-background = #0063ff
wm-restack = bspwm
;override-redirect = true
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
cursor-click = pointer
cursor-scroll = ns-resize
[module/xwindow]
type = internal/xwindow
label = %title:0:30:...%
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-prefix-underline = ${colors.secondary}
label-layout = %layout%
label-layout-underline = ${colors.secondary}
label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground-alt}
[module/bspwm]
type = internal/bspwm
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused-padding = 2
label-occupied = %index%
label-occupied-padding = 2
label-urgent = %index%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %index%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
; Separator in between workspaces
; label-separator = |
ws-icon-0 = Web;
ws-icon-1 = Terminals;♛
ws-icon-2 = Info;♜
ws-icon-3 = Code;♝
ws-icon-7 = Communication;♞
; ws-icon-default =
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
icon-prev = 
icon-stop = 
icon-play = 
icon-pause = 
icon-next = 
label-song-maxlen = 25
label-song-ellipsis = true
[module/xbacklight]
type = internal/xbacklight
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = |
bar-indicator-foreground = #fff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
[module/backlight-acpi]
inherit = module/xbacklight
type = internal/backlight
card = intel_backlight
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #f90000
label = %percentage:2%%
[module/title]
type = internal/xwindow
; Available tags:
; <label> (default)
format = <label>
format-foreground = ${colors.foreground-alt}
format-padding = 0
label = %title%
label-maxlen = 40
; Used instead of label when there is no window title
; Available tokens:
; None
label-empty =
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #4bffdc
label = %percentage_used%%
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected = <ramp-signal> <label-connected>
format-connected-underline = #9f78e1
label-connected = %essid%
format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
[module/eth]
type = internal/network
interface = enp4s0f2
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S
format-prefix = 
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5
label = %date% %time%
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <label-volume> <bar-volume>
label-volume = VOL %percentage%%
label-volume-foreground = ${root.foreground}
label-muted = 🔇 muted
label-muted-foreground = #666
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
[module/alsa]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
label-volume = VOL
label-volume-foreground = ${root.foreground}
format-muted-prefix = " "
format-muted-foreground = ${colors.foreground-alt}
label-muted = sound muted
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
[module/battery]
type = internal/battery
battery = BAT0
adapter = ADP1
full-at = 98
format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffb52a
format-discharging = <animation-discharging> <label-discharging>
format-discharging-underline = ${self.format-charging-underline}
format-full-prefix = " "
format-full-prefix-foreground = ${colors.foreground-alt}
format-full-underline = ${self.format-charging-underline}
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
animation-discharging-0 = 
animation-discharging-1 = 
animation-discharging-2 = 
animation-discharging-foreground = ${colors.foreground-alt}
animation-discharging-framerate = 750
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 60
format = <ramp> <label>
format-underline = #f50a4d
format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-warn = %temperature-c%
label-warn-foreground = ${colors.secondary}
ramp-0 = 
ramp-1 = 
ramp-2 = 
ramp-foreground = ${colors.foreground-alt}
[module/powermenu]
type = custom/menu
expand-right = true
format-spacing = 1
label-open = 
label-open-foreground = ${colors.secondary}
label-close =  cancel
label-close-foreground = ${colors.secondary}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
[module/rofi]
type = custom/script
click-left = rofimenu
label = M
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
;pseudo-transparency = false
[global/wm]
margin-top = 0
margin-bottom = 0
; vim:ft=dosini

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch bar
echo "---" >> /tmp/polybar.log
polybar example >>/tmp/polybar.log 2>&1 &
echo "Bars launched..."

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
echo "---" >> /tmp/polybar.log
polybar example >>/tmp/polybar.log 2>&1 &
echo "Bars launched..."

View File

@@ -0,0 +1,25 @@
#
# $HOME/.config/pulseaudio-ctl/config
#
# The default setting is for pulseaudio-ctl to NOT increase to volume level
# above 100 % but Some users may wish exceed this level. If this describes
# your use case, uncomment the UPPER_THRESHOLD variable below setting it to
# the new upper threshold.
#
#UPPER_THRESHOLD=150
# Push output through libnotify. Set to any value to enable this feature
# and note that you must have /usr/bin/notify-send to use this. On Arch
# libnotify provides this. Other distros may not name it as such.
#
#NOTIFY=yes
# Show a graphical progress-bar type visualization of the volume level in
# libnotify. No setting or commented out will show a simply percentage but
# a setting will convert the percentage to a progress-bar in libnotify.
#
#BARCHART=yes
# Use KDE OSD notification. Set to any value to enable this feature.
#KDE_OSD=yes

View File

@@ -0,0 +1,25 @@
[Appearance]
color_scheme_path=
custom_palette=false
icon_theme=Papirus-Dark-Maia
style=kvantum
[Fonts]
fixed=@Variant(\0\0\0@\0\0\0\x1c\0N\0o\0t\0o\0 \0S\0\x61\0n\0s\0 \0M\0o\0n\0o@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\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=0
cursor_flash_time=1000
dialog_buttons_have_icons=1
double_click_interval=400
gui_effects=@Invalid()
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\x1\x9a\0\0\x1\x1\0\0\x3\xd8\0\0\x3w\0\0\x1\x9b\0\0\x1\x19\0\0\x3\xd7\0\0\x3v\0\0\0\0\0\0\0\0\x5\0)

View File

@@ -0,0 +1,58 @@
configuration {
modi: "drun";
me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary";
scroll-method: 1;
display-windowcd: "Window: ";
show-icons: true;
window-format: "{c} - {t}";
}
* {
background: #292f34FF;
background-color: #00000000;
foreground: #F6F9FFFF;
selected: #1ABB9BFF;
active-background: #3A464BFF;
urgent-background: #800000FF;
urgent-foreground: @foreground;
selected-urgent-background: @urgent-foreground;
selected-urgent-foreground: @urgent-background;
font: "Terminus 18px";
text-color: @foreground;
border: 0px;
padding: 0px;
spacing: 0px;
}
window {
location: northwest;
width: 200px;
background-color: @background;
padding: 4px;
y-offset: 25px;
}
listview {
lines: 17;
fixed-height: false;
spacing: 2px;
scrollbar: false;
}
element.normal.active,
element.alternate.active {
background-color: @active-background;
}
element.selected {
background-color: @selected;
}
element.normal.urgent,
element.alternate.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}

View File

@@ -0,0 +1,58 @@
configuration {
modi: "windowcd";
me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary";
scroll-method: 1;
display-windowcd: "Window: ";
show-icons: true;
window-format: "{c} - {t}";
}
* {
background: #292f34FF;
background-color: #00000000;
foreground: #F6F9FFFF;
selected: #1ABB9BFF;
active-background: #3A464BFF;
urgent-background: #800000FF;
urgent-foreground: @foreground;
selected-urgent-background: @urgent-foreground;
selected-urgent-foreground: @urgent-background;
font: "Terminus 22px";
text-color: @foreground;
border: 0px;
padding: 0px;
spacing: 0px;
}
window {
location: north;
y-offset: 25px;
width: 33%;
background-color: @background;
padding: 4px;
}
listview {
lines: 17;
fixed-height: false;
spacing: 2px;
scrollbar: false;
}
element.normal.active,
element.alternate.active {
background-color: @active-background;
}
element.selected {
background-color: @selected;
}
element.normal.urgent,
element.alternate.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}

View File

@@ -0,0 +1,197 @@
/**
* ROFI Color theme
* User: Qball
* Copyright: Dave Davenport
*/
configuration {
modi: "combi";
//combi-modi: "window,drun,\/:rofind,run";
combi-modi: "window,drun,run";
me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary";
scroll-method: 1;
// The display name of this browser
display-ssh: "ssh";
// The display name of this browser
display-run: "#! ";
// The display name of this browser
display-drun: "";
// The display name of this browser
display-window: "";
display-combi: "Exec -> ";
show-icons: true;
}
/**
* User: Qball
* Copyright: Dave Davenport
*/
* {
foreground: #ffeedd;
backlight: #ccffeedd;
background-color: transparent;
dark: #1c1c1c;
// Black
black: #2f343f;
lightblack: #554444;
tlightblack: #554444cc;
//
// Red
red: #cd5c5c;
lightred: #cc5533;
//
// Green
green: #86af80;
lightgreen: #88cc22;
//
// Yellow
yellow: #e8ae5b;
lightyellow: #ffa75d;
//
// Blue
blue: #6495ed;
lightblue: #87ceeb;
//
// Magenta
magenta: #deb887;
lightmagenta: #996600;
//
// Cyan
cyan: #1ABB9B;
tcyan: #ccb0c4de;
lightcyan: #b0c4de;
//
// White
white: #bbaa99;
lightwhite: #ddccbb;
//
// Bold, Italic, Underline
highlight: underline bold #ffffff;
transparent: rgba(0,0,0,0);
font: "Terminus 18";
}
#window {
location: center;
anchor: center;
transparency: "screenshot";
padding: 10px;
border: 0px;
border-radius: 10px;
color: @magenta;
background-color: @transparent;
spacing: 0;
children: [vertb, mainbox];
orientation: horizontal;
}
#mainbox {
spacing: 0;
children: [ inputbar, message, listview ];
}
#message {
border-color: @foreground;
border: 0px 2px 2px 2px;
// border-radius: 10px;
padding: 5;
background-color: @tcyan;
}
#message {
font: "Noto Sans Mono Medium 12";
color: @black;
}
#inputbar {
color: @cyan;
padding: 11px;
background-color: @black;
border: 2px 2px 2px 2px;
border-radius: 30px 30px 0px 0px;
border-color: @foreground;
font: "NotoSansMono Nerd Font 18";
}
#entry,prompt,case-indicator {
text-font: inherit;
text-color:inherit;
}
#listview {
padding: 8px;
border-radius: 0px 0px 30px 30px;
border-color: @foreground;
border: 0px 2px 2px 2px;
background-color: #1c1c1ccc;
dynamic: false;
lines: 15;
}
#element {
padding: 3px;
vertical-align: 0.5;
// border: 2px;
border-radius: 4px;
background-color: transparent;
color: @foreground;
font:inherit;
}
#element selected.normal {
background-color: @cyan;
}
#element normal active {
foreground: @lightblue;
}
#element normal urgent {
foreground: @lightred;
}
#element alternate normal {
}
#element alternate active {
foreground: @lightblue;
}
#element alternate urgent {
foreground: @lightred;
}
#element selected active {
background-color: @cyan;
foreground: @dark;
}
#element selected urgent {
background-color: @lightred;
foreground: @dark;
}
#element normal normal {
}
#vertb {
expand: false;
children: [ dummy0, sidebar, dummy1 ];
}
#dummy0, dummy1 {
expand: true;
}
#sidebar {
expand: false;
orientation: vertical;
spacing: 0px;
border: 0px 0px 0px 0px;
}
#button {
font: "FontAwesome 26";
padding: 6px;
border: 2px 0px 2px 2px;
border-radius: 4px 0px 0px 4px;
background-color: @tlightblack;
border-color: @foreground;
color: @foreground;
horizontal-align: 0.5;
}
#button selected normal {
color: @dark;
border: 2px 0px 2px 2px;
background-color: @backlight;
border-color: @foreground;
}

View File

@@ -0,0 +1,115 @@
configuration {
me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary";
scroll-method: 1;
show-icons: true;
sidebar-mode: true;
kb-custom-1: "";
kb-custom-2: "";
kb-custom-3: "";
kb-custom-4: "";
kb-custom-5: "";
kb-custom-6: "";
kb-custom-7: "";
kb-custom-8: "";
kb-custom-9: "";
kb-custom-10: "";
kb-select-1: "Alt+1";
kb-select-2: "Alt+2";
kb-select-3: "Alt+3";
kb-select-4: "Alt+4";
kb-select-5: "Alt+5";
kb-select-6: "Alt+6";
kb-select-7: "Alt+7";
kb-select-8: "Alt+8";
kb-select-9: "Alt+9";
kb-select-10: "Alt+0";
}
* {
background: #292f34FF;
background-color: #00000000;
foreground: #F6F9FFFF;
selected: #1ABB9BFF;
selected-foreground: #FFFFFFFF;
active-background: #00BCD420;
urgent-background: #800000FF;
urgent-foreground: @selected-normal-foreground;
selected-urgent-background: @urgent-foreground;
selected-urgent-foreground: @urgent-background;
font: "NotoSansMono Nerd Font 20px";
text-color: @foreground;
margin: 0px;
border: 0px;
padding: 0px;
spacing: 0px;
addpadding: 2px 1ch;
}
element.normal.active,
element.alternate.active {
background-color: @active-background;
text-color: @selected-foreground;
}
element.selected,
button.selected {
background-color: @selected;
text-color: @selected-foreground;
}
element.normal.urgent,
element.alternate.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
window {
location: northwest;
anchor: northwest;
x-offset: 0;
y-offset: 24;
width: 60ch;
}
mainbox {
orientation: horizontal;
children: [ sidebar, vertibox ];
}
vertibox {
orientation: vertical;
children: [ inputbar, listview ];
background-color: @background;
}
inputbar {
children: [ entry, ci ];
}
entry {
padding: @addpadding;
}
listview {
lines: 20;
fixed-height: false;
dynamic: false;
scrollbar: true;
}
scrollbar {
width: 1ch;
handle-color: @selected;
}
element {
padding: @addpadding;
}
sidebar {
orientation: vertical;
}
button {
horizontal-align: 0;
expand: false;
padding: @addpadding;
width: 18ch;
background-color: @background;
}

View File

@@ -0,0 +1,233 @@
#!/bin/bash
# Configuration file for rofimenu script
#
# Top level menu consists of modi names from modilist.
# Modilist is a comma separated list of default modi (drun,run...) and/or custom modi.
# Names of default modi can be set as rofi options (e.g. -display-drun Applications).
# Custom modi format: "modi_name:modi_script".
# Menu functions from this script can be used as modi like this "<menu_name>:$thisscript -menu <menu_function>"
# pause needed for smooth transition when menu command refers to other modi
DELAY=0.06
delay() {
sleep $DELAY
}
# define modi labels for menu
FAV=" Favourites"
DRUN=" Applications"
CAT=" Categories"
RUN=" Run"
MENU=" Edit Menu"
EXIT=" Exit"
modilist="\
$FAV:$thisscript -menu ${FAV#* },\
drun,\
$CAT:$thisscript -menu ${CAT#* },\
run,\
$MENU:$thisscript -menu Menu_settings,\
$EXIT:$thisscript -menu ${EXIT#* }"
# Menu functions print lines in format "label:command".
Menu_settings() {
echo " Edit config:$GUI_EDITOR $ROFIMENU_CONFIG && $thisscript -show \'$MENU\'"
echo " Reset config:rm $ROFIMENU_CONFIG && delay; $thisscript -show \'$MENU\'"
echo "──────────────:true"
echo " Edit theme:$GUI_EDITOR $ROFIMENU_THEME && $thisscript -show \'$MENU\'"
echo " Reset theme:rm $ROFIMENU_THEME && delay; $thisscript -show \'$MENU\'"
}
Favourites() {
echo " Terminal:default-terminal"
echo " File Manager:xdg-open ~"
echo " Browser:default-browser"
echo " Settings:default-terminal -e bmenu"
echo " Search:rofi-finder.sh"
# echo "$EXIT: delay; delay; $thisscript -show \'$EXIT\'" # This refers to modi from the same script; needs delay
}
Exit() {
echo " lock:screenlock"
echo " suspend:systemctl suspend"
echo " hibernate:systemctl hibernate"
echo " logout:xdotool key --clearmodifiers super+shift+q"
echo " reboot:systemctl reboot"
echo " poweroff:systemctl poweroff"
}
Categories() {
SUBMENU_MARK=""
IFS='
'
# Newline separated list, each line has format "[symbol ][alias:]category"
# Category with alias will be shown in menu under that alias
# The first entry below is an alias for " " so it shows all applications
desired="\
 Applications:
 Favorites
 Accessories:Utility
 Development
 Documentation
 Education
 Graphics
 Internet:Network
 Multimedia:AudioVideo
 Office
 Settings
 System"
# determine max line length and set tab position for subcategory mark
maxlength=0
for line in $desired ; do
label="${line%:*}"
if [ ${#label} -gt $maxlength ] ; then
maxlength=${#label}
fi
done
submenu_tab=$(($maxlength+3))
present="$(grep Categories /usr/share/applications/*.desktop \
| cut -d'=' -f2 \
| sed 's/;/\n/g' \
| LC_COLLATE=POSIX sort --ignore-case --unique)"
linenumber=0
for line in $desired ; do
category="${line##*[ :]}"
label="$(echo -e ${line%:*}\\t${SUBMENU_MARK} | expand -t $submenu_tab)" ## add submenu mark
if [ $(echo "$present"|grep -w -c "$category") -gt 0 ] ; then
echo "$label:activate_category \"$label\" \"$category\" $linenumber"
linenumber=$(($linenumber+1))
fi
done
}
# Desktop menu parameters
DT_MODI="Desktop:$thisscript -menu Desktop"
Desktop() {
echo " Terminal:default-terminal"
echo " File Manager:xdg-open ~"
echo " Browser:default-browser"
#TODO determine number of lines before categories
addlinenumber=3
eval $(xdotool search --class rofi getwindowgeometry --shell)
Categories|sed "s/\$/ $addlinenumber $X $Y/" # pass additional lines number, X, Y
echo " Search:rofi-finder.sh"
}
DT_WIDTH=200 # pixels
##TODO determine desktop menu line height according to theme
DT_LINE_HEIGHT=23 # pixels
DT_THEME="
*{
lines: 20;
scrollbar: false;
dynamic: true;
}
#window {
width: ${DT_WIDTH}px;
children: [ dt-mainbox ];
}
#mode-switcher {
enabled: false;
}
#button {
width: ${DT_WIDTH}px;
padding: 2px 1ch;
}
#inputbar {
enabled: false;
}"
activate_category() { # shows drun modi filtered with category. If no command selected, returns to categories modi
label="${1% *}" # remove submenu mark
category="$2"
linenumber="$3"
theme=""
goback="$thisscript -show \"$CAT\""
if [ $# -gt 3 ] ; then # that means categories for desktop menu, number of lines before categories, X, Y
addlinenumber=$4
X=$5
Y=$6
linenumber=$(($linenumber+$addlinenumber))
if [ $linenumber -gt 0 ] ; then
i=$linenumber
dummy="true"
dummyline="textboxdummy"
while [ $i -gt 1 ] ; do
dummyline="textboxdummy,$dummyline"
i=$(($i-1))
done
else
dummy="false"
fi
# adjust X if too close to the right side of the screen
MAX_X=$(wattr w $(lsw -r) )
anchor="north"
if [ $X -gt $((${MAX_X}-${DT_WIDTH}*2)) ] ; then
anchor="${anchor}east"
X=$MAX_X
else
anchor="${anchor}west"
fi
theme="$DT_THEME
* {
x-offset: $X;
y-offset: $Y;
anchor: $anchor;
}
#window {
width: $((${DT_WIDTH}*2));
}
#mode-switcher {
enabled: true;
}
#boxdummy {
enabled: $dummy;
children: [ $dummyline ];
}"
goback="$thisscript -desktop $X $Y"
fi
command=$(delay; $thisscript \
-only drun \
-drun-match-fields categories,name \
-display-drun "$label" \
-filter "$category " \
-run-command "echo {cmd}" \
-run-shell-command "echo {terminal} -e {cmd}" \
-theme-str "$theme")
if [ -n "$command" ] ; then
eval "$command" &
exit
fi
# return to categories modi. No delay needed
eval $goback &
if [ $linenumber -eq 0 ] ; then # if the category is on the top line
exit
fi
# move rofi selection down by linenumber
keys=""
while [ $linenumber -gt 0 ] ; do
keys="$keys Tab"
linenumber=$(($linenumber-1))
done
##TODO wait until rofi can take input
delay
delay
xdotool search --class rofi key --delay 0 $keys
}
## rofi theme file can be set here
# ROFIMENU_THEME="$HOME/.config/rofimenu/rofimenu.rasi"

View File

@@ -0,0 +1,180 @@
configuration {
me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary";
scroll-method: 1;
show-icons: true;
sidebar-mode: true;
kb-custom-1: "";
kb-custom-2: "";
kb-custom-3: "";
kb-custom-4: "";
kb-custom-5: "";
kb-custom-6: "";
kb-custom-7: "";
kb-custom-8: "";
kb-custom-9: "";
kb-custom-10: "";
kb-select-1: "Alt+1";
kb-select-2: "Alt+2";
kb-select-3: "Alt+3";
kb-select-4: "Alt+4";
kb-select-5: "Alt+5";
kb-select-6: "Alt+6";
kb-select-7: "Alt+7";
kb-select-8: "Alt+8";
kb-select-9: "Alt+9";
kb-select-10: "Alt+0";
}
* {
//// COLORS ////
//// uncomment to match bspwm edition theme
background: #292f34FF;
background-color: #292f3400;
foreground: #F6F9FFFF;
selected: #1ABB9BFF;
selected-foreground: @foreground;
//// uncomment to match Adapta Nokto theme
// background: #222D32E8;
// background-color: #00000000;
// foreground: #CFD8DCFF;
// selected: #00BCD4FF;
// selected-foreground: #FFFFFFFF;
//// common - active and urgent
active-background: #3A464BFF;
urgent-background: #800000FF;
urgent-foreground: @foreground;
selected-urgent-background: @urgent-foreground;
selected-urgent-foreground: @urgent-background;
//// TEXT ////
font: "Terminus 22px";
// font: "Knack Nerd Font 16px";
text-color: @foreground;
//// PADDING ETC ////
margin: 0px;
border: 0px;
padding: 0px;
spacing: 0px;
elementpadding: 2px 0px;
elementmargin: 0px 2px;
listmargin: 0px 2px 0px 0px;
//// SIZE ////
windowwidth: 40ch;
buttonwidth: 18ch;
lines: 12;
fixed-height: false;
//// POSITION ////
location: northwest;
anchor: northwest;
x-offset: 0px;
y-offset: 24px;
//// LAYOUT ////
scrollbar: true;
//// uncomment to get submenu-like style
menustyle: [ sb-mainbox ];
buttonpadding: 2px 1ch;
button-bg: @background;
dynamic: true;
//// uncomment to get tabs-like style
// menustyle: [ tb-mainbox ];
// buttonpadding: 14px 1ch;
// dynamic: false;
}
//////////////////////////////////////////
window {
width: @windowwidth;
children: @menustyle;
}
//submenu-style
sb-mainbox {
orientation: horizontal;
children: [ mode-switcher, vertibox ];
}
//tabs-style
tb-mainbox {
orientation: vertical;
children: [ inputbar, horibox ];
background-color: @background;
}
//desktop-submenu
dt-mainbox {
orientation: vertical;
children: [ boxdummy, sb-mainbox ];
}
horibox {
orientation: horizontal;
children: [ listview, mode-switcher ];
}
mode-switcher {
orientation: vertical;
}
button {
horizontal-align: 0;
padding: @buttonpadding;
width: @buttonwidth;
background-color: @button-bg;
expand: false;
}
vertibox {
orientation: vertical;
children: [ inputbar, listview ];
background-color: @background;
}
prompt {
enabled: false;
}
listview {
margin: @listmargin;
}
scrollbar {
handle-width: 0.5ch;
handle-color: @selected;
}
boxdummy {
enabled: false;
orientation: vertical;
expand: false;
children: [ textboxdummy ];
}
textboxdummy {
str: " ";
}
element, inputbar, textboxdummy {
padding: @elementpadding;
margin: @elementmargin;
width: @elementwidth;
}
element.normal.active,
element.alternate.active {
background-color: @active-background;
text-color: @selected-foreground;
}
element.selected,
button.selected {
background-color: @selected;
text-color: @selected-foreground;
}
element.normal.urgent,
element.alternate.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}

View File

@@ -0,0 +1,731 @@
# SpaceFM Session File
# THIS FILE IS NOT DESIGNED TO BE EDITED - it will be read and OVERWRITTEN
# If you delete all session* files, SpaceFM will be reset to factory defaults.
[General]
small_icon_size=24
tool_icon_size=3
single_click=1
[Window]
width=640
height=480
maximized=1
[Desktop]
desk_open_mime=1
bg1=4656,4125,12014
bg2=0,0,54496
text=65535,65535,65535
shadow=0,0,0
margin_top=30
[Interface]
always_show_tabs=0
[MOD]
dev_menu_root-icn=dialog-warning-symbolic
dev_root_mount-z=/usr/bin/udevil mount -o %o %v
dev_root_unmount-z=/usr/bin/udevil umount %v
dev_show_internal_drives-b=1
dev_show_empty-b=2
dev_show_net-b=1
dev_show_file-b=1
dev_dispname-s=%v %s %l %m
dev_dispname-z=%v %s %l %m
dev_automount_optical-b=1
dev_automount_removable-b=1
dev_auto_open-b=1
dev_mount_options-s=noexec, nosuid, noatime
dev_mount_options-z=noexec, nosuid, noatime
dev_remount_options-s=noexec, nosuid, noatime
dev_remount_options-z=noexec, nosuid, noatime
dev_change-s=cifs curlftpfs ftpfs fuse.sshfs nfs smbfs
dev_change-z=cifs curlftpfs ftpfs fuse.sshfs nfs smbfs
dev_fs_cnf-s=hand_fs_+fuseiso hand_fs_+udiso hand_fs_+def
dev_net_cnf-s=hand_net_+http hand_net_+ftp hand_net_+ssh hand_net_+mtp hand_net_+gphoto hand_net_+ifuse hand_net_+udevil hand_net_+udevilsmb hand_net_+fusesmb
dev_icon_internal_mounted-icn=drive-harddisk-ieee1394-symbolic
dev_icon_internal_unmounted-icn=drive-multidisk
book_icon-icn=folder
book_show-b=1
main_book-icn=bookmark-new
main_book-child=cstm_760fed92
move_filename-b=1
move_path-b=1
move_type-b=1
move_target-b=1
move_template-b=1
move_copy-b=1
move_link-b=1
move_as_root-b=1
move_dlg_font-x=728
move_dlg_font-y=314
move_dlg_font-z=0
move_dlg_confirm_create-b=1
status_info-b=1
main_new_window-key=110
main_new_window-keymod=4
main_root_window-key=65472
main_root_window-icn=spacefm-root
main_terminal-s=default-terminal
main_terminal-key=65473
main_terminal-icn=utilities-terminal-symbolic
main_terminal-b=2
main_root_terminal-icn=utilities-terminal-symbolic
main_save_tabs-b=1
main_exit-key=113
main_exit-keymod=4
panel1_show-s=///~
panel1_show-x=0
panel1_show-key=49
panel1_show-keymod=4
panel1_show-b=1
panel2_show-x=9
panel2_show-key=50
panel2_show-keymod=4
panel2_show-b=2
panel3_show-x=0
panel3_show-key=51
panel3_show-keymod=4
panel3_show-b=2
panel4_show-x=0
panel4_show-key=52
panel4_show-keymod=4
panel4_show-b=2
main_pbar-b=1
main_title-s=%d
main_title-z=%d
main_icon-x=780
main_icon-y=560
main_full-key=65480
main_full-b=2
main_tool-child=cstm_113b269f
root_bar-b=1
plug_cverb-b=1
main_help-key=65470
main_help-b=1
main_dev-b=1
task_col_status-x=0
task_col_status-y=130
task_col_status-b=1
task_col_count-x=1
task_col_path-x=2
task_col_path-y=80
task_col_path-b=1
task_col_file-x=3
task_col_file-y=80
task_col_file-b=1
task_col_to-x=4
task_col_to-y=80
task_col_to-b=1
task_col_progress-x=5
task_col_progress-y=100
task_col_progress-b=1
task_col_total-x=6
task_col_total-y=120
task_col_total-b=1
task_col_started-x=7
task_col_elapsed-x=8
task_col_elapsed-y=70
task_col_elapsed-b=1
task_col_curspeed-x=9
task_col_curspeed-y=80
task_col_curspeed-b=1
task_col_curest-x=10
task_col_curest-y=170
task_col_curest-b=1
task_col_avgspeed-x=11
task_col_avgspeed-y=60
task_col_avgest-x=12
task_col_avgest-y=65
task_show_manager-x=200
task_show_manager-b=2
task_hide_manager-b=1
task_popups-s=600
task_popups-x=864
task_popups-y=385
task_popups-z=340
task_pop_all-b=2
task_pop_top-s=504
task_pop_top-x=910
task_pop_top-y=495
task_pop_top-z=529
task_pop_top-b=2
task_pop_above-b=2
task_pop_stick-b=2
task_pop_detail-b=2
task_pop_over-b=1
task_pop_err-b=1
task_pop_font-s=Monospace 11
task_err_first-b=1
task_err_any-b=2
task_err_cont-b=2
task_q_new-b=1
task_q_smart-b=1
desk_sort_name-b=2
desk_sort_type-b=2
desk_sort_date-b=2
desk_sort_size-b=2
desk_sort_cust-b=1
desk_sort_ascend-b=1
desk_sort_descend-b=2
context_dlg-s=Monospace 11
context_dlg-x=800
context_dlg-y=600
context_dlg-b=2
date_format-s=%Y-%m-%d %H:%M
con_open-next=cstm_313456bb
open_edit_root-icn=dialog-warning-symbolic
open_hand-s=hand_f_+iso
open_all-key=65475
arc_def_ex-b=1
arc_def_parent-b=1
arc_def_write-b=1
arc_conf2-s=hand_arc_+7z hand_arc_+rar hand_arc_+tar hand_arc_+tar_bz2 hand_arc_+tar_gz hand_arc_+tar_xz hand_arc_+zip hand_arc_+gz hand_arc_+xz
arc_conf2-x=0
arc_conf2-y=0
new_file-key=70
new_file-keymod=5
new_folder-key=102
new_folder-keymod=4
arc_dlg-s=1
arc_dlg-z=1
arc_dlg-b=1
tab_new-key=116
tab_new-keymod=4
go_back-key=65361
go_back-keymod=8
go_forward-key=65363
go_forward-keymod=8
go_up-key=65362
go_up-keymod=8
go_default-key=65307
focus_path_bar-key=108
focus_path_bar-keymod=4
tab_prev-key=65056
tab_prev-keymod=5
tab_next-key=65289
tab_next-keymod=4
tab_close-key=119
tab_close-keymod=4
tab_1-key=49
tab_1-keymod=8
tab_2-key=50
tab_2-keymod=8
tab_3-key=51
tab_3-keymod=8
tab_4-key=52
tab_4-keymod=8
tab_5-key=53
tab_5-keymod=8
tab_6-key=54
tab_6-keymod=8
tab_7-key=55
tab_7-keymod=8
tab_8-key=56
tab_8-keymod=8
tab_9-key=57
tab_9-keymod=8
tab_10-key=48
tab_10-keymod=8
rubberband-b=1
sortby_name-b=1
sortby_size-b=2
sortby_type-b=2
sortby_perm-b=2
sortby_owner-b=2
sortby_date-b=2
sortby_ascend-b=1
sortby_descend-b=2
sortx_natural-b=1
sortx_case-b=2
sortx_folders-b=1
sortx_files-b=2
sortx_mix-b=2
sortx_hidfirst-b=1
sortx_hidlast-b=2
view_refresh-key=65474
path_seek-b=1
edit_cut-key=120
edit_cut-keymod=4
edit_copy-key=99
edit_copy-keymod=4
edit_paste-key=118
edit_paste-keymod=4
edit_rename-key=65471
edit_delete-key=65535
copy_name-key=67
copy_name-keymod=9
copy_path-key=67
copy_path-keymod=5
paste_link-key=86
paste_link-keymod=5
paste_as-key=65
paste_as-keymod=5
select_all-key=97
select_all-keymod=4
edit_root-icn=dialog-warning-symbolic
prop_info-key=65293
prop_info-keymod=8
prop_perm-key=112
prop_perm-keymod=4
prop_perm-icn=emblem-locked
prop_root-icn=dialog-warning-symbolic
panel1_show_toolbox-b=1
panel1_show_devmon-b=1
panel1_show_dirtree-b=1
panel1_show_book-b=1
panel1_show_sidebar-b=2
panel1_list_detailed-x=0
panel1_list_detailed-y=0
panel1_list_detailed-b=2
panel1_list_icons-b=1
panel1_list_compact-b=2
panel1_list_large-b=1
panel1_show_hidden-key=104
panel1_show_hidden-keymod=4
panel1_show_hidden-b=0
panel1_font_dev-s=xos4 Terminus 12
panel1_detcol_name-x=0
panel1_detcol_name-b=1
panel1_detcol_size-x=1
panel1_detcol_size-b=2
panel1_detcol_type-x=3
panel1_detcol_type-b=1
panel1_detcol_perm-x=4
panel1_detcol_perm-b=2
panel1_detcol_owner-x=5
panel1_detcol_owner-b=2
panel1_detcol_date-x=2
panel1_detcol_date-b=1
panel1_sort_extra-x=2
panel1_sort_extra-y=1
panel1_sort_extra-z=1
panel1_sort_extra-b=1
panel1_book_fol-b=1
panel2_show_toolbox-b=1
panel2_show_dirtree-b=1
panel2_show_sidebar-b=2
panel2_list_detailed-b=1
panel2_show_hidden-b=0
panel2_detcol_name-x=0
panel2_detcol_name-b=1
panel2_detcol_size-x=1
panel2_detcol_size-b=1
panel2_detcol_type-x=2
panel2_detcol_type-b=2
panel2_detcol_perm-x=3
panel2_detcol_perm-b=2
panel2_detcol_owner-x=4
panel2_detcol_owner-b=2
panel2_detcol_date-x=5
panel2_detcol_date-b=1
panel2_sort_extra-x=2
panel2_sort_extra-y=1
panel2_sort_extra-z=1
panel2_sort_extra-b=1
panel2_book_fol-b=1
panel3_show_toolbox-b=1
panel3_show_dirtree-b=1
panel3_list_detailed-b=1
panel3_detcol_name-x=0
panel3_detcol_name-b=1
panel3_detcol_size-x=1
panel3_detcol_size-b=1
panel3_detcol_type-x=2
panel3_detcol_perm-x=3
panel3_detcol_owner-x=4
panel3_detcol_date-x=5
panel3_sort_extra-x=2
panel3_sort_extra-y=1
panel3_sort_extra-z=1
panel3_sort_extra-b=1
panel3_book_fol-b=1
panel4_show_toolbox-b=1
panel4_show_devmon-b=2
panel4_show_dirtree-b=1
panel4_show_book-b=2
panel4_show_sidebar-b=2
panel4_list_detailed-b=1
panel4_detcol_name-x=0
panel4_detcol_name-b=1
panel4_detcol_size-x=1
panel4_detcol_size-b=1
panel4_detcol_type-x=2
panel4_detcol_type-b=2
panel4_detcol_perm-x=3
panel4_detcol_perm-b=2
panel4_detcol_owner-x=4
panel4_detcol_owner-b=2
panel4_detcol_date-x=5
panel4_detcol_date-b=2
panel4_sort_extra-x=2
panel4_sort_extra-y=1
panel4_sort_extra-z=1
panel4_sort_extra-b=1
panel4_book_fol-b=1
book_single-b=1
dev_newtab-b=1
dev_single-b=1
book_new-key=100
book_new-keymod=4
su_command-s=/usr/bin/sudo
gsu_command-s=/usr/bin/zensu
editor-s=gedit
editor-b=2
config_version-s=37
panel1_show_toolbox0-b=1
panel1_show_sidebar0-b=2
panel1_detcol_name0-y=419
panel1_detcol_name0-b=1
panel1_detcol_size0-y=114
panel1_detcol_size0-b=2
panel1_detcol_type0-y=1442
panel1_detcol_type0-b=1
panel1_detcol_perm0-b=2
panel1_detcol_owner0-b=2
panel1_detcol_date0-y=189
panel1_detcol_date0-b=1
panel1_slider_positions0-s=0
panel1_slider_positions0-x=140
panel1_slider_positions0-y=229
panel_sliders-s=240
panel_sliders-x=200
panel_sliders-y=320
panel_sliders-z=851
panel1_show_toolbox1-b=1
panel1_show_book1-b=2
panel1_show_sidebar1-b=2
panel1_detcol_name1-y=542
panel1_detcol_name1-b=1
panel1_detcol_size1-y=276
panel1_detcol_size1-b=1
panel1_detcol_type1-y=1379
panel1_detcol_type1-b=2
panel1_detcol_perm1-b=2
panel1_detcol_owner1-b=2
panel1_detcol_date1-y=100
panel1_detcol_date1-b=1
panel1_slider_positions1-s=0
panel1_slider_positions1-x=140
panel1_slider_positions1-y=92
panel2_show_toolbox1-b=1
panel2_show_sidebar1-b=2
panel2_detcol_name1-y=484
panel2_detcol_name1-b=1
panel2_detcol_size1-y=1235
panel2_detcol_size1-b=1
panel2_detcol_type1-b=2
panel2_detcol_perm1-b=2
panel2_detcol_owner1-b=2
panel2_detcol_date1-y=100
panel2_detcol_date1-b=1
panel2_slider_positions1-s=0
panel2_slider_positions1-x=294
panel2_slider_positions1-y=0
panel2_show_toolbox0-b=1
panel2_show_sidebar0-b=2
panel2_detcol_name0-y=1481
panel2_detcol_name0-b=1
panel2_detcol_size0-y=423
panel2_detcol_size0-b=1
panel2_detcol_type0-b=2
panel2_detcol_perm0-b=2
panel2_detcol_owner0-b=2
panel2_detcol_date0-y=100
panel2_detcol_date0-b=2
panel2_slider_positions0-s=0
panel2_slider_positions0-x=436
panel2_slider_positions0-y=295
drag_action-x=0
app_dlg-s=511
app_dlg-x=492
app_dlg-y=420
app_dlg-z=436
panel1_show_toolbox3-b=1
panel1_show_devmon3-b=1
panel1_show_book3-b=2
panel1_show_sidebar3-b=2
panel1_detcol_name3-y=150
panel1_detcol_name3-b=1
panel1_detcol_size3-y=803
panel1_detcol_size3-b=1
panel1_detcol_type3-b=2
panel1_detcol_perm3-b=2
panel1_detcol_owner3-b=2
panel1_detcol_date3-y=100
panel1_detcol_date3-b=2
panel1_slider_positions3-s=0
panel1_slider_positions3-x=0
panel1_slider_positions3-y=0
panel2_show_toolbox3-b=1
panel2_show_devmon3-b=2
panel2_show_book3-b=2
panel2_show_sidebar3-b=2
panel2_detcol_name3-y=150
panel2_detcol_name3-b=1
panel2_detcol_size3-y=643
panel2_detcol_size3-b=1
panel2_detcol_type3-b=2
panel2_detcol_perm3-b=2
panel2_detcol_owner3-b=2
panel2_detcol_date3-y=100
panel2_detcol_date3-b=2
panel2_slider_positions3-s=0
panel2_slider_positions3-x=0
panel2_slider_positions3-y=0
panel3_show_toolbox2-b=1
panel3_show_devmon2-b=2
panel3_show_book2-b=2
panel3_show_sidebar2-b=2
panel3_detcol_name2-y=220
panel3_detcol_name2-b=1
panel3_detcol_size2-y=100
panel3_detcol_size2-b=1
panel3_detcol_type2-b=2
panel3_detcol_perm2-b=2
panel3_detcol_owner2-b=2
panel3_detcol_date2-b=2
panel3_slider_positions2-s=0
panel3_slider_positions2-x=0
panel3_slider_positions2-y=0
cstm_113b269f-x=0
cstm_113b269f-label=New _Command
cstm_113b269f-parent=main_tool
cstm_113b269f-task=1
cstm_113b269f-task_err=1
cstm_113b269f-task_out=1
cstm_113b269f-keep=1
root_editor-s=nano
root_editor-b=1
hand_fs_+def-s=*
hand_fs_+def-x=
hand_fs_+def-label=Default
hand_fs_+def-b=1
text_dlg-s=600
text_dlg-x=549
text_dlg-y=304
text_dlg-z=454
panel1_tool_l-child=cstm_3d19bd96
cstm_3d19bd96-icon=drive-harddisk-symbolic
cstm_3d19bd96-next=cstm_03aa75d1
cstm_3d19bd96-tool=2
cstm_3d19bd96-parent=panel1_tool_l
cstm_366f074f-next=cstm_2920a47f
cstm_366f074f-tool=7
cstm_366f074f-prev=cstm_43475ea3
panel1_tool_r-child=cstm_28416fa9
cstm_28416fa9-tool=12
cstm_28416fa9-parent=panel1_tool_r
panel1_tool_s-child=cstm_2a6fe06b
cstm_2a6fe06b-next=cstm_5a11403e
cstm_2a6fe06b-tool=2
cstm_2a6fe06b-parent=panel1_tool_s
cstm_5a11403e-next=cstm_24910d09
cstm_5a11403e-tool=3
cstm_5a11403e-prev=cstm_2a6fe06b
cstm_24910d09-tool=4
cstm_24910d09-prev=cstm_5a11403e
panel2_tool_l-child=cstm_628f79f1
cstm_628f79f1-icon=drive-harddisk-symbolic
cstm_628f79f1-next=cstm_1eb2b13b
cstm_628f79f1-tool=2
cstm_628f79f1-parent=panel2_tool_l
cstm_1eb2b13b-next=cstm_01306908
cstm_1eb2b13b-tool=3
cstm_1eb2b13b-prev=cstm_628f79f1
cstm_01306908-next=cstm_275cea58
cstm_01306908-tool=4
cstm_01306908-prev=cstm_1eb2b13b
cstm_275cea58-next=cstm_48a5606d
cstm_275cea58-tool=14
cstm_275cea58-prev=cstm_01306908
cstm_48a5606d-next=cstm_1a9144c0
cstm_48a5606d-tool=9
cstm_48a5606d-prev=cstm_275cea58
cstm_1a9144c0-next=cstm_55fcb416
cstm_1a9144c0-tool=11
cstm_1a9144c0-prev=cstm_48a5606d
cstm_55fcb416-next=cstm_186cc266
cstm_55fcb416-tool=7
cstm_55fcb416-prev=cstm_1a9144c0
cstm_186cc266-tool=6
cstm_186cc266-prev=cstm_55fcb416
panel2_tool_r-child=cstm_6d1111e1
cstm_6d1111e1-tool=12
cstm_6d1111e1-parent=panel2_tool_r
panel2_tool_s-child=cstm_736b4d84
cstm_736b4d84-next=cstm_7ce195df
cstm_736b4d84-tool=2
cstm_736b4d84-parent=panel2_tool_s
cstm_7ce195df-next=cstm_058f72af
cstm_7ce195df-tool=3
cstm_7ce195df-prev=cstm_736b4d84
cstm_058f72af-tool=4
cstm_058f72af-prev=cstm_7ce195df
panel3_tool_l-child=cstm_45f8197b
cstm_45f8197b-icon=gnome-disks-symbolic
cstm_45f8197b-next=cstm_4b844113
cstm_45f8197b-tool=2
cstm_45f8197b-parent=panel3_tool_l
cstm_4b844113-next=cstm_5ff6de30
cstm_4b844113-tool=3
cstm_4b844113-prev=cstm_45f8197b
cstm_5ff6de30-next=cstm_06ea9e33
cstm_5ff6de30-tool=4
cstm_5ff6de30-prev=cstm_4b844113
cstm_06ea9e33-next=cstm_12189c7d
cstm_06ea9e33-tool=14
cstm_06ea9e33-prev=cstm_5ff6de30
cstm_12189c7d-next=cstm_754e13d7
cstm_12189c7d-tool=9
cstm_12189c7d-prev=cstm_06ea9e33
cstm_754e13d7-next=cstm_4cec8dc5
cstm_754e13d7-tool=11
cstm_754e13d7-prev=cstm_12189c7d
cstm_4cec8dc5-next=cstm_4f325a14
cstm_4cec8dc5-tool=7
cstm_4cec8dc5-prev=cstm_754e13d7
cstm_4f325a14-tool=6
cstm_4f325a14-prev=cstm_4cec8dc5
panel3_tool_r-child=cstm_7180d1a3
cstm_7180d1a3-tool=12
cstm_7180d1a3-parent=panel3_tool_r
panel3_tool_s-child=cstm_7db556bd
cstm_7db556bd-next=cstm_769958b5
cstm_7db556bd-tool=2
cstm_7db556bd-parent=panel3_tool_s
cstm_769958b5-next=cstm_3d9f9b0a
cstm_769958b5-tool=3
cstm_769958b5-prev=cstm_7db556bd
cstm_3d9f9b0a-tool=4
cstm_3d9f9b0a-prev=cstm_769958b5
panel4_tool_l-child=cstm_64036c3d
cstm_64036c3d-icon=drive-harddisk-symbolic
cstm_64036c3d-next=cstm_2d086005
cstm_64036c3d-tool=2
cstm_64036c3d-parent=panel4_tool_l
cstm_2d086005-next=cstm_2d5078e9
cstm_2d086005-tool=3
cstm_2d086005-prev=cstm_64036c3d
cstm_2d5078e9-next=cstm_0c44dbe6
cstm_2d5078e9-tool=4
cstm_2d5078e9-prev=cstm_2d086005
cstm_0c44dbe6-next=cstm_57784070
cstm_0c44dbe6-tool=14
cstm_0c44dbe6-prev=cstm_2d5078e9
cstm_57784070-next=cstm_0761b927
cstm_57784070-tool=9
cstm_57784070-prev=cstm_0c44dbe6
cstm_0761b927-next=cstm_30d5e8f0
cstm_0761b927-tool=11
cstm_0761b927-prev=cstm_57784070
cstm_30d5e8f0-next=cstm_3a07ba62
cstm_30d5e8f0-tool=7
cstm_30d5e8f0-prev=cstm_0761b927
cstm_3a07ba62-tool=6
cstm_3a07ba62-prev=cstm_30d5e8f0
panel4_tool_r-child=cstm_26146a62
cstm_26146a62-tool=12
cstm_26146a62-parent=panel4_tool_r
panel4_tool_s-child=cstm_320651f8
cstm_320651f8-next=cstm_6164a4ba
cstm_320651f8-tool=2
cstm_320651f8-parent=panel4_tool_s
cstm_6164a4ba-next=cstm_6eb9cacf
cstm_6164a4ba-tool=3
cstm_6164a4ba-prev=cstm_320651f8
cstm_6eb9cacf-tool=4
cstm_6eb9cacf-prev=cstm_6164a4ba
cstm_313456bb-label=Set as wallpaper
cstm_313456bb-prev=con_open
cstm_313456bb-task=1
cstm_313456bb-task_err=1
cstm_313456bb-task_out=1
cstm_313456bb-keep=1
panel1_list_large0-b=1
cstm_43475ea3-next=cstm_366f074f
cstm_43475ea3-tool=8
cstm_43475ea3-prev=cstm_03aa75d1
cstm_2920a47f-tool=10
cstm_2920a47f-prev=cstm_366f074f
cstm_03aa75d1-next=cstm_43475ea3
cstm_03aa75d1-tool=6
cstm_03aa75d1-prev=cstm_3d19bd96
panel1_show_book0-b=1
panel3_show_toolbox3-b=1
panel3_show_devmon3-b=2
panel3_show_book3-b=2
panel3_show_sidebar3-b=2
panel3_detcol_name3-y=220
panel3_detcol_name3-b=1
panel3_detcol_size3-y=100
panel3_detcol_size3-b=1
panel3_detcol_type3-b=2
panel3_detcol_perm3-b=2
panel3_detcol_owner3-b=2
panel3_detcol_date3-b=2
panel3_slider_positions3-s=0
panel3_slider_positions3-x=0
panel3_slider_positions3-y=0
panel4_show_toolbox3-b=1
panel4_show_devmon3-b=2
panel4_show_book3-b=2
panel4_show_sidebar3-b=2
panel4_detcol_name3-y=566
panel4_detcol_name3-b=1
panel4_detcol_size3-y=100
panel4_detcol_size3-b=1
panel4_detcol_type3-b=2
panel4_detcol_perm3-b=2
panel4_detcol_owner3-b=2
panel4_detcol_date3-b=2
panel4_slider_positions3-s=0
panel4_slider_positions3-x=0
panel4_slider_positions3-y=0
panel4_show_toolbox2-b=1
panel4_show_devmon2-b=2
panel4_show_book2-b=2
panel4_show_sidebar2-b=2
panel4_detcol_name2-y=887
panel4_detcol_name2-b=1
panel4_detcol_size2-y=100
panel4_detcol_size2-b=1
panel4_detcol_type2-b=2
panel4_detcol_perm2-b=2
panel4_detcol_owner2-b=2
panel4_detcol_date2-b=2
panel4_slider_positions2-s=0
panel4_slider_positions2-x=0
panel4_slider_positions2-y=0
font_dlg-x=576
font_dlg-y=344
file_dlg-x=902
file_dlg-y=582
cstm_760fed92-x=3
cstm_760fed92-z=~/Documents
cstm_760fed92-label=Documents
cstm_760fed92-next=cstm_575d26da
cstm_760fed92-parent=main_book
cstm_528a237a-x=3
cstm_528a237a-z=~/Music
cstm_528a237a-label=Music
cstm_528a237a-next=cstm_2aa51446
cstm_528a237a-prev=cstm_575d26da
cstm_575d26da-x=3
cstm_575d26da-z=~/Downloads
cstm_575d26da-label=Downloads
cstm_575d26da-next=cstm_528a237a
cstm_575d26da-prev=cstm_760fed92
cstm_2aa51446-x=3
cstm_2aa51446-z=~/Pictures
cstm_2aa51446-label=Pictures
cstm_2aa51446-next=cstm_4531b1eb
cstm_2aa51446-prev=cstm_528a237a
cstm_4531b1eb-x=3
cstm_4531b1eb-z=~/Videos
cstm_4531b1eb-label=Videos
cstm_4531b1eb-prev=cstm_2aa51446

View File

@@ -0,0 +1,326 @@
# 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)
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 && gapgrab
~button2
DidIClickDesktop.sh && mygtkmenui -- .config/GTKmenu/BspwmDesktopMenui
#DidIClickDesktop.sh && mygtkmenui -- .config/GTKmenu/BspwmWindowMenui
~button3
DidIClickDesktop.sh && mygtkmenui -- .config/GTKmenu/LaunchMenu
# 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
#
# Touchpad "gestures" (depend on your touchpad driver, very likely to be unavailable)
#_____________________
#
# spawn programs
#
# run applications
super + space
dmenu_recent -fn 'xos4 Terminus:size=15' -i -l 14 -w 600 -y $PANEL_HEIGHT
# Triggered by jus tapping super
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
thunar
# Use slightly bigger font for ranger
super + shift + e
default-terminal ranger
Print
scrot
#
# Media keys
#
XF86AudioRaiseVolume
volume up
XF86AudioLowerVolume
volume down
XF86AudioMute
volume mute
XF86MonBrightnessDown
light -U 5
XF86MonBrightnessUp
light -A 5
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

View File

@@ -0,0 +1,325 @@
# 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)
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 && gapgrab
~button2
DidIClickDesktop.sh && BspwmDesktopMenu
# DidIClickDesktop.sh && mygtkmenui -- .config/GTKmenu/BspwmDesktopMenui
# DidIClickDesktop.sh && mygtkmenui -- .config/GTKmenu/BspwmWindowMenui
~button3
DidIClickDesktop.sh && rofimenu -desktop
#DidIClickDesktop.sh && mygtkmenui -- .config/GTKmenu/LaunchMenu
# 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
smartsplit ; rofimenu -desktop
# smartsplit ; dboxmenu
# MouseLaunch ; mygtkmenui -- .config/GTKmenu/LaunchMenu
# Spawn window manipulation menu
# Mod1 is alt
mod1 + @button1
BspwmWindowMenu
# mygtkmenui -- .config/GTKmenu/BspwmWindowMenui
#
# Touchpad "gestures" (depend on your touchpad driver, very likely to be unavailable)
#_____________________
#
# 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
default-terminal ranger
#spacefm -n
Print
scrot
#
# Media keys
#
XF86AudioRaiseVolume
volume up
XF86AudioLowerVolume
volume down
XF86AudioMute
volume mute
XF86MonBrightnessDown
light -U 5
XF86MonBrightnessUp
light -A 5
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

View File

@@ -0,0 +1,15 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Pulpit"
XDG_DOWNLOAD_DIR="$HOME/Pobrane"
XDG_TEMPLATES_DIR="$HOME/Szablony"
XDG_PUBLICSHARE_DIR="$HOME/Publiczny"
XDG_DOCUMENTS_DIR="$HOME/Dokumenty"
XDG_MUSIC_DIR="$HOME/Muzyka"
XDG_PICTURES_DIR="$HOME/Obrazy"
XDG_VIDEOS_DIR="$HOME/Wideo"

View File

@@ -0,0 +1 @@
pl_PL

View File

@@ -0,0 +1,2 @@
auto-online=false

View File

@@ -0,0 +1,2 @@
TerminalEmulator=urxvt

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="thunar" version="1.0">
<property name="last-view" type="string" value="ThunarDetailsView"/>
<property name="last-location-bar" type="string" value="ThunarLocationEntry"/>
<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_75_PERCENT"/>
<property name="last-window-maximized" type="bool" value="true"/>
<property name="last-show-hidden" type="bool" value="true"/>
<property name="last-separator-position" type="int" value="170"/>
<property name="misc-single-click" type="bool" value="false"/>
<property name="misc-middle-click-in-tab" type="bool" value="true"/>
<property name="last-details-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_38_PERCENT"/>
<property name="last-details-view-column-widths" type="string" value="50,142,50,50,246,50,50,91,50,207"/>
<property name="last-sort-column" type="string" value="THUNAR_COLUMN_NAME"/>
<property name="last-sort-order" type="string" value="GTK_SORT_ASCENDING"/>
</channel>

View File

@@ -0,0 +1,243 @@
# Configuration file for dircolors, a utility to help you set the
# LS_COLORS environment variable used by GNU ls with the --color option.
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
# Copying and distribution of this file, with or without modification,
# are permitted provided the copyright notice and this notice are preserved.
# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
# slackware version of dircolors) are recognized but ignored.
# You can copy this file to .dir_colors in your $HOME directory to override
# the system defaults.
# Below, there should be one TERM entry for each termtype that is colorizable
TERM Eterm
TERM ansi
TERM color-xterm
TERM con132x25
TERM con132x30
TERM con132x43
TERM con132x60
TERM con80x25
TERM con80x28
TERM con80x30
TERM con80x43
TERM con80x50
TERM con80x60
TERM cons25
TERM console
TERM cygwin
TERM dtterm
TERM eterm-color
TERM gnome
TERM gnome-256color
TERM hurd
TERM jfbterm
TERM konsole
TERM kterm
TERM linux
TERM linux-c
TERM mach-color
TERM mach-gnu-color
TERM mlterm
TERM putty
TERM putty-256color
TERM rxvt
TERM rxvt-256color
TERM rxvt-cygwin
TERM rxvt-cygwin-native
TERM rxvt-unicode
TERM rxvt-unicode-256color
TERM rxvt-unicode256
TERM screen
TERM screen-256color
TERM screen-256color-bce
TERM screen-bce
TERM screen-w
TERM screen.Eterm
TERM screen.rxvt
TERM screen.linux
TERM st
TERM st-256color
TERM terminator
TERM vt100
TERM xterm
TERM xterm-16color
TERM xterm-256color
TERM xterm-88color
TERM xterm-color
TERM xterm-debian
# Below are the color init strings for the basic file types. A color init
# string consists of one or more of the following numeric codes:
# Attribute codes:
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
# Text color codes:
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
# Background color codes:
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
#NORMAL 00 # no color code at all
#FILE 00 # regular file: use no color at all
RESET 0 # reset to "normal" color
DIR 01;34 # directory
LINK 01;36 # symbolic link. (If you set this to 'target' instead of a
# numerical value, the color is as for the file pointed to.)
MULTIHARDLINK 00 # regular file with more than one link
FIFO 40;33 # pipe
SOCK 01;35 # socket
DOOR 01;35 # door
BLK 40;33;01 # block device driver
CHR 40;33;01 # character device driver
ORPHAN 01;05;37;41 # orphaned syminks
MISSING 01;05;37;41 # ... and the files they point to
SETUID 37;41 # file that is setuid (u+s)
SETGID 30;43 # file that is setgid (g+s)
CAPABILITY 30;41 # file with capability
STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w)
OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable
# This is for files with execute permission:
EXEC 01;32
# List any file extensions like '.gz' or '.tar' that you would like ls
# to colorize below. Put the extension, a space, and the color init string.
# (and any comments you want to add after a '#')
# If you use DOS-style suffixes, you may want to uncomment the following:
#.cmd 01;32 # executables (bright green)
#.exe 01;32
#.com 01;32
#.btm 01;32
#.bat 01;32
# Or if you want to colorize scripts even if they do not have the
# executable bit actually set.
#.sh 01;32
#.csh 01;32
# archives or compressed (bright red)
.tar 01;31
.tgz 01;31
.arc 01;31
.arj 01;31
.taz 01;31
.lha 01;31
.lz4 01;31
.lzh 01;31
.lzma 01;31
.tlz 01;31
.txz 01;31
.tzo 01;31
.t7z 01;31
.zip 01;31
.z 01;31
.Z 01;31
.dz 01;31
.gz 01;31
.lrz 01;31
.lz 01;31
.lzo 01;31
.xz 01;31
.bz2 01;31
.bz 01;31
.tbz 01;31
.tbz2 01;31
.tz 01;31
.deb 01;31
.rpm 01;31
.jar 01;31
.war 01;31
.ear 01;31
.sar 01;31
.rar 01;31
.alz 01;31
.ace 01;31
.zoo 01;31
.cpio 01;31
.7z 01;31
.rz 01;31
.cab 01;31
# image formats
.jpg 01;35
.jpeg 01;35
.gif 01;35
.bmp 01;35
.pbm 01;35
.pgm 01;35
.ppm 01;35
.tga 01;35
.xbm 01;35
.xpm 01;35
.tif 01;35
.tiff 01;35
.png 01;35
.svg 01;35
.svgz 01;35
.mng 01;35
.pcx 01;35
.mov 01;35
.mpg 01;35
.mpeg 01;35
.m2v 01;35
.mkv 01;35
.webm 01;35
.ogm 01;35
.mp4 01;35
.m4v 01;35
.mp4v 01;35
.vob 01;35
.qt 01;35
.nuv 01;35
.wmv 01;35
.asf 01;35
.rm 01;35
.rmvb 01;35
.flc 01;35
.avi 01;35
.fli 01;35
.flv 01;35
.gl 01;35
.dl 01;35
.xcf 01;35
.xwd 01;35
.yuv 01;35
.cgm 01;35
.emf 01;35
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
.axv 01;35
.anx 01;35
.ogv 01;35
.ogx 01;35
# Document files
.pdf 00;32
.ps 00;32
.txt 00;32
.patch 00;32
.diff 00;32
.log 00;32
.tex 00;32
.doc 00;32
# audio formats
.aac 00;36
.au 00;36
.flac 00;36
.m4a 00;36
.mid 00;36
.midi 00;36
.mka 00;36
.mp3 00;36
.mpc 00;36
.ogg 00;36
.ra 00;36
.wav 00;36
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
.axa 00;36
.oga 00;36
.spx 00;36
.xspf 00;36

11
IMPORTED_FROM_MANJARO/.dmenurc Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
# ~/.dmenurc
DMENU_FN="Terminus-15"
DMENU_NB="#2f343f"
DMENU_NF="#1ABB9B"
DMENU_SB="#1ABB9B"
DMENU_SF="#2f343f"
TERMINAL_CMD="sterminal"
PANEL_HEIGHT="25"
DMENU_OPTIONS="-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"
export DMENU_FN DMENU_NB DMENU_NF DMENU_SF DMENU_SB DMENU_OPTIONS PANEL_HEIGHT

View File

@@ -0,0 +1,2 @@
[Desktop]
Session=bspwm

View File

@@ -0,0 +1,35 @@
#ionicons        
panel_height='26'
mainfont='Droid Sans Mono:size=16:antialias=true'
iconfont="TerminessTTF Nerd Font:size=13:antialias=true"
thirdfont="Droid Sans Mono:size=14:antialias=true"
#thirdfont="Ionicons:size=16:antialias=false"
gap=15
main_menu="rofimenu"
networkmenu="networkmenu.sh"
wifi_indicator=true
window_button="%{A:bspc node -c:} %{A}"
menu_icon=
charging_icon=
battery_full_icon=
battery_draining_icon=
battery_half_icon=
battery_low_icon=
time_icon=
wired_icon="<->"
disconnected_icon=
#
muted_icon=
#
unmuted_icon=
tiling_icon=
monocle_icon=
title_length=80
COLOR_FOCUSED_DESKTOP_FG='#FF16A085'
COLOR_FOCUSED_DESKTOP_BG="#FF222D32"
COLOR_DESKTOP_FG='#FFF6F9FF'
COLOR_DESKTOP_BG="#FF222D32"
DARKGREY="%{F#FF707880}"
RED="%{F#FFA54242}"
update_interval=3
systemtray=0

247
IMPORTED_FROM_MANJARO/.nanorc Executable file
View File

@@ -0,0 +1,247 @@
## Sample initialization file for GNU nano.
##
## Please note that you must have configured nano with --enable-nanorc
## for this file to be read! Also note that this file should not be in
## DOS or Mac format, and that characters specially interpreted by the
## shell should not be escaped here.
##
## To make sure an option is disabled, use "unset <option>".
##
## For the options that take parameters, the default value is given.
## Other options are unset by default.
##
## Quotes inside string parameters don't have to be escaped with
## backslashes. The last double quote in the string will be treated as
## its end. For example, for the "brackets" option, ""')>]}" will match
## ", ', ), >, ], and }.
## Silently ignore problems with unknown directives in the nanorc file.
## Useful when your nanorc file might be read on systems with multiple
## versions of nano installed (e.g. your home directory is on NFS).
# set quiet
## Use auto-indentation.
set autoindent
## Back up files to the current filename plus a tilde.
set backup
## The directory to put unique backup files in.
# set backupdir ""
## Do backwards searches by default.
# set backwards
## Use bold text instead of reverse video text.
# set boldtext
## The characters treated as closing brackets when justifying
## paragraphs. They cannot contain blank characters. Only closing
## punctuation, optionally followed by closing brackets, can end
## sentences.
# set brackets ""')>]}"
## Do case-sensitive searches by default.
# set casesensitive
## Constantly display the cursor position in the statusbar. Note that
## this overrides "quickblank".
# set const
## Use cut-to-end-of-line by default.
# set cut
## Set the line length for wrapping text and justifying paragraphs.
## If the value is 0 or less, the wrapping point will be the screen
## width less this number.
# set fill -8
## Enable ~/.nano_history for saving and reading search/replace strings.
# set historylog
## Enable vim-style lock-files. This is just to let a vim user know you
## are editing a file [s]he is trying to edit and vice versa. There are
## no plans to implement vim-style undo state in these files.
# set locking
## The opening and closing brackets that can be found by bracket
## searches. They cannot contain blank characters. The former set must
## come before the latter set, and both must be in the same order.
# set matchbrackets "(<[{)>]}"
## Use the blank line below the titlebar as extra editing space.
# set morespace
## Enable mouse support, if available for your system. When enabled,
## mouse clicks can be used to place the cursor, set the mark (with a
## double click), and execute shortcuts. The mouse will work in the X
## Window System, and on the console when gpm is running.
# set mouse
## Switch on multiple file buffers (inserting a file will put it into
## a separate buffer).
# set multibuffer
## Don't convert files from DOS/Mac format.
# set noconvert
## Don't follow symlinks when writing files.
# set nofollow
## Don't display the helpful shortcut lists at the bottom of the screen.
# set nohelp
## Don't add newlines to the ends of files.
set nonewlines
## Don't wrap text at all.
# set nowrap
## Set operating directory. nano will not read or write files outside
## this directory and its subdirectories. Also, the current directory
## is changed to here, so any files are inserted from this dir. A blank
## string means the operating-directory feature is turned off.
# set operatingdir ""
## Remember the cursor position in each file for the next editing session.
# set poslog
## Preserve the XON and XOFF keys (^Q and ^S).
# set preserve
## The characters treated as closing punctuation when justifying
## paragraphs. They cannot contain blank characters. Only closing
## punctuation, optionally followed by closing brackets, can end
## sentences.
# set punct "!.?"
## Do quick statusbar blanking. Statusbar messages will disappear after
## 1 keystroke instead of 26. Note that "const" overrides this.
# set quickblank
## The email-quote string, used to justify email-quoted paragraphs.
## This is an extended regular expression if your system supports them,
## otherwise a literal string.
## If you have extended regular expression support, the default is:
# set quotestr "^([ ]*[#:>\|}])+"
## Otherwise:
# set quotestr "> "
## Fix Backspace/Delete confusion problem.
# set rebinddelete
## Fix numeric keypad key confusion problem.
# set rebindkeypad
## Do extended regular expression searches by default.
# set regexp
## Make the Home key smarter. When Home is pressed anywhere but at the
## very beginning of non-whitespace characters on a line, the cursor
## will jump to that beginning (either forwards or backwards). If the
## cursor is already at that position, it will jump to the true
## beginning of the line.
set smarthome
## Use smooth scrolling as the default.
# set smooth
## Enable soft line wrapping (AKA full-line display).
set softwrap
## Use this spelling checker instead of the internal one. This option
## does not properly have a default value.
# set speller "aspell -x -c"
## Allow nano to be suspended.
set suspend
## Use this tab size instead of the default; it must be greater than 0.
set tabsize 2
## Convert typed tabs to spaces.
# set tabstospaces
## Save automatically on exit; don't prompt.
# set tempfile
## Disallow file modification. Why would you want this in an rcfile? ;)
# set view
## The two single-column characters used to display the first characters
## of tabs and spaces. 187 in ISO 8859-1 (0000BB in Unicode) and 183 in
## ISO-8859-1 (0000B7 in Unicode) seem to be good values for these.
## The default when in a UTF-8 locale:
# set whitespace "»·"
## The default otherwise:
# set whitespace ">."
## Detect word boundaries more accurately by treating punctuation
## characters as parts of words.
# set wordbounds
## Paint the interface elements of nano.
## This is an example; by default there are no colors.
# set titlecolor brightwhite,blue
# set statuscolor brightwhite,green
# set keycolor green
# set functioncolor yellow
## Setup of syntax coloring.
##
## Format:
##
## syntax "short description" ["filename regex" ...]
##
## The "none" syntax is reserved; specifying it on the command line is
## the same as not having a syntax at all. The "default" syntax is
## special: it takes no filename regexes, and applies to files that
## don't match any other syntax's filename regexes.
##
## color foreground,background "regex" ["regex"...]
## or
## icolor foreground,background "regex" ["regex"...]
##
## "color" will do case-sensitive matches, while "icolor" will do
## case-insensitive matches.
##
## Valid colors: white, black, red, blue, green, yellow, magenta, cyan.
## For foreground colors, you may use the prefix "bright" to get a
## stronger highlight.
##
## To use multi-line regexes, use the start="regex" end="regex"
## [start="regex" end="regex"...] format.
##
## If your system supports transparency, not specifying a background
## color will use a transparent color. If you don't want this, be sure
## to set the background color to black or white.
##
## All regexes should be extended regular expressions.
##
## If you wish, you may put your syntax definitions in separate files.
## You can make use of such files as follows:
##
## include "/path/to/syntax_file.nanorc"
##
## Unless otherwise noted, the name of the syntax file (without the
## ".nanorc" extension) should be the same as the "short description"
## name inside that file. These names are kept fairly short to make
## them easier to remember and faster to type using nano's -Y option.
##
## To include all existing syntax definitions, you can do:
include "/usr/share/nano/*.nanorc"
## Key bindings.
## See nanorc(5) for more details on this.
##
## Here are a few samples to get you going.
##
# bind M-W nowrap main
# bind M-A casesens search
# bind ^S research main
## Set this if your backspace key sends Del most of the time.
# bind Del backspace all

View File

@@ -0,0 +1,39 @@
# $HOME/.profile
#Set our umask
umask 022
# Set our default path
PATH="/usr/local/sbin:/usr/local/bin:/usr/bin/core_perl:/usr/bin:$HOME/.config/bspwm/panel:$HOME/.bin"
export PANEL_FIFO="/tmp/panel-fifo"
export PATH
export XDG_CONFIG_HOME="$HOME/.config"
export BSPWM_SOCKET="/tmp/bspwm-socket"
export PANEL_HEIGHT=25
export XDG_CONFIG_DIRS=/usr/etc/xdg:/etc/xdg
export GUI_EDITOR=/usr/bin/micro-st
export BROWSER=/usr/bin/brave
export TERMINAL=/usr/bin/sterminal
export QT_QPA_PLATFORMTHEME="qt5ct"
export EDITOR=/usr/bin/nano
export VISUAL=/usr/bin/nano
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export _JAVA_AWT_WM_NONREPARENTING=1
# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
for profile in /etc/profile.d/*.sh; do
test -r "$profile" && . "$profile"
done
unset profile
fi
# Source global bash config
if test "$PS1" && test "$BASH" && test -r /etc/bash.bashrc; then
. /etc/bash.bashrc
fi
# Termcap is outdated, old, and crusty, kill it.
unset TERMCAP
# Man is much better than us at figuring this out
unset MANPATH

View File

@@ -0,0 +1,153 @@
#
# Example of a user's .screenrc file
#
# This is how one can set a reattach password:
# password ODSJQf.4IJN7E # "1234"
# no annoying audible bell, please
vbell on
# detach on hangup
autodetach on
# don't display the copyright page
startup_message off
# emulate .logout message
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
# advertise hardstatus support to $TERMCAP
# termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'
# make the shell in every window a login shell
#shell -$SHELL
# autoaka testing
# shellaka '> |tcsh'
# shellaka '$ |sh'
# set every new windows hardstatus line to somenthing descriptive
# defhstatus "screen: ^En (^Et)"
defscrollback 1000
# don't kill window after the process died
# zombie "^["
# enable support for the "alternate screen" capability in all windows
# altscreen on
################
#
# xterm tweaks
#
#xterm understands both im/ic and doesn't have a status line.
#Note: Do not specify im and ic in the real termcap/info file as
#some programs (e.g. vi) will not work anymore.
termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
#80/132 column switching must be enabled for ^AW to work
#change init sequence to not switch width
termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
# Make the output buffer large for (fast) xterms.
#termcapinfo xterm* OL=10000
termcapinfo xterm* OL=100
# tell screen that xterm can switch to dark background and has function
# keys.
termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'
# special xterm hardstatus: use the window title.
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l'
termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
# emulate part of the 'K' charset
termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
# xterm-52 tweaks:
# - uses background color for delete operations
termcapinfo xterm* be
################
#
# wyse terminals
#
#wyse-75-42 must have flow control (xo = "terminal uses xon/xoff")
#essential to have it here, as this is a slow terminal.
termcapinfo wy75-42 xo:hs@
# New termcap sequences for cursor application mode.
termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J
################
#
# other terminals
#
# make hp700 termcap/info better
termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
# Extend the vt100 desciption by some sequences.
termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
termcapinfo linux C8
# old rxvt versions also need this
# termcapinfo rxvt C8
################
#
# keybindings
#
#remove some stupid / dangerous key bindings
bind k
bind ^k
bind .
bind ^\
bind \\
bind ^h
bind h
#make them better
bind 'K' kill
bind 'I' login on
bind 'O' login off
bind '}' history
# Yet another hack:
# Prepend/append register [/] to the paste if ^a^] is pressed.
# This lets me have autoindent mode in vi.
register [ "\033:se noai\015a"
register ] "\033:se ai\015a"
bind ^] paste [.]
################
#
# default windows
#
# screen -t local 0
# screen -t mail 1 mutt
# screen -t 40 2 rlogin server
# caption always "%3n %t%? @%u%?%? [%h]%?%=%c"
# hardstatus alwaysignore
# hardstatus alwayslastline "%Lw"
# bind = resize =
# bind + resize +1
# bind - resize -1
# bind _ resize max
#
# defnonblock 1
# blankerprg rain -d 100
# idle 30 blanker

View File

@@ -0,0 +1,110 @@
## Mouse options
set -g mouse on
#bind -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"
#bind -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M"
## Start counting windows from 1
set -g base-index 1
setw -g mode-keys vi
# Copy/paste. Selecting any text with mouse automatically sopies it to the clipboard
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xsel -i -p -b"
bind-key p run "xsel -o | tmux load-buffer - ; tmux paste-buffer"
bind -n C-S-v run "xsel -o | tmux load-buffer - ; tmux paste-buffer"
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xsel -i -p && xsel -o -p | xsel -i -b"
bind-key -T copy-mode-vi C-c send-keys -X copy-pipe-and-cancel "xsel -i -p && xsel -o -p | xsel -i -b"
bind-key p run "xsel -o | tmux load-buffer - ; tmux paste-buffer"
#bind -n C-S-c "copy-pipe "xsel -i -p -b""
#bind-key C-S-c "copy-pipe "xsel -i -p -b""
## titles
set-window-option -g automatic-rename on
set-option -g set-titles on
## Toggle copymode
bind Escape copy-mode
##open and close splits
bind -n M-h split-window -h
bind -n M-v split-window -v
bind -n M-x killp
bind -n M-z resize-pane -Z
unbind '"'
unbind %
# Use Ctrl-arrows to navigate text
set-window-option -g xterm-keys on
# Use Alt-arrow keys without prefix key to switch panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Use Alt-Shift-arrow keys without prefix key to switch panes (for better micro compatibility)
# bind -n M-S-Left select-pane -L
# bind -n M-S-Right select-pane -R
# bind -n M-S-Up select-pane -U
# bind -n M-S-Down select-pane -D
# Shift arrow to switch windows
bind -n M-T new-window
bind -n S-PageDown prev
bind -n S-PageUp next
bind-key -n M-j detach
# No delay for escape key press
set -sg escape-time 0
# Reload tmux config
bind r source-file ~/.tmux.conf
#unbind C-b
#set -g prefix C-a
set -g prefix M-a
set -g pane-active-border-style fg=cyan
setw -g aggressive-resize on
# ----------------------
# Status Bar
# -----------------------
set-option -g status on # turn the status bar on
set -g status-interval 15 # set update frequencey (default 15 seconds)
set -g status-justify centre # center window list for clarity
set-option -g status-position top # position the status bar at top of screen
# visual notification of activity in other windows
setw -g monitor-activity on
set -g visual-activity on
# set color for status bar
set-option -g status-bg colour00 #base02
set-option -g status-fg cyan
set -g window-status-style dim
set -g window-status-current-style bright
set -g window-status-separator ' | '
# show host name
# set -g status-left-length 70
# set -g status-left "#[fg=green]: #h :"
# Don't show anything on the left side of the bar
set -g status-left ""
# show session name, window & pane number, date and time on right side of
# status bar
# set -g status-right-length 60
# set -g status-right "#[fg=blue]#S #I:#P #[fg=yellow]:: %d/%m/%Y #[fg=green]:: %H:%M"
# Don't show anything on the right side of the bar
set -g status-right ""
#set -g default-command "/usr/bin/zsh"
#set -g default-shell "/usr/bin/fish"
set -g default-terminal screen-256color
set -as terminal-overrides ',st*:kind@:kri@'
# Better mouse support
set -g @prevent-scroll-for-fullscreen-alternate-buffer 'on'
set -g @scroll-speed-num-lines-per-scroll '3'
run-shell /usr/share/tmux/tmux-better-mouse-mode/scroll_copy_mode.tmux

65
IMPORTED_FROM_MANJARO/.xinitrc Executable file
View File

@@ -0,0 +1,65 @@
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
[[ -f ~/.Xdefaults ]] && xrdb -merge ~/.Xdefaults
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
if [ $TERM = linux ] || [ -e "/etc/systemd/system/graphical.target.wants/xlogin@$(whoami).service" ] ; then
# Here Bspwm is kept as default
session=${1:-bspwm}
case $session in
awesome ) exec dbus-launch --sh-syntax --exit-with-session awesome;;
jwm ) exec dbus-launch --sh-syntax --exit-with-session jwm;;
deepin ) exec dbus-launch --sh-syntax --exit-with-session startdde;;
enlightenment ) exec dbus-launch --sh-syntax --exit-with-session enlightenment_start;;
gnome ) exec dbus-launch --sh-syntax --exit-with-session gnome-session;;
bspwm ) exec dbus-launch --sh-syntax --exit-with-session bspwm-session;;
i3|i3wm ) exec dbus-launch --sh-syntax --exit-with-session i3;;
lxde ) exec dbus-launch --sh-syntax --exit-with-session startlxde;;
lxqt ) exec dbus-launch --sh-syntax --exit-with-session lxqt-session;;
i3|i3wm ) exec dbus-launch --sh-syntax --exit-with-session i3;;
kde ) exec dbus-launch --sh-syntax --exit-with-session startkde;;
cinnamon ) exec dbus-launch --sh-syntax --exit-with-session cinnamon-session;;
budgie ) exec dbus-launch --sh-syntax --exit-with-session budgie-desktop;;
mate ) exec dbus-launch --sh-syntax --exit-with-session mate-session;;
openbox ) exec dbus-launch --sh-syntax --exit-with-session openbox-session;;
xfce|xfce4 ) exec dbus-launch --sh-syntax --exit-with-session startxfce4;;
# No known session, try to run it as command
* ) exec dbus-launch --sh-syntax --exit-with-session $1;;
esac
fi

10
IMPORTED_FROM_MANJARO/.xsession Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
#
# ~/.xsession
#
# Executed by xdm/gdm/kdm at login
#
/bin/bash --login -i ~/.xinitrc

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More