├── etc └── skel │ └── .config │ └── bspwm │ ├── .fehbg │ ├── wallpaper.jpg │ ├── polybar │ ├── system │ ├── colors │ ├── launch.sh │ ├── config │ ├── decor │ └── modules │ ├── alacritty │ ├── fonts.toml │ ├── colors.toml │ └── alacritty.toml │ ├── bspwmrc │ ├── dunstrc │ └── picom.conf ├── README.md └── LICENSE /etc/skel/.config/bspwm/.fehbg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | feh --no-fehbg --bg-scale "$HOME/.config/bspwm/wallpaper.jpg" 3 | -------------------------------------------------------------------------------- /etc/skel/.config/bspwm/wallpaper.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awfixer-old/axyl-bspwm/HEAD/etc/skel/.config/bspwm/wallpaper.jpg -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # axyl-bspwm 2 | BSPWM configuration for Axyl OS 3 | ![gif](https://raw.githubusercontent.com/axyl-os/axyl-os.github.io/master/assets/img/axyl-bspwm.gif) 4 | -------------------------------------------------------------------------------- /etc/skel/.config/bspwm/polybar/system: -------------------------------------------------------------------------------- 1 | ; When some modules in the polybar doesn't show up. 2 | ; Look for battery/adapter: "ls -l /sys/class/power_supply" 3 | ; Look for backlight: "ls -l /sys/class/backlight" 4 | ; Look for network: "ls -l /sys/class/net" 5 | 6 | [system] 7 | adapter = ACAD 8 | battery = BAT0 9 | graphics_card = amdgpu_bl1 10 | network_interface = wlan0 11 | -------------------------------------------------------------------------------- /etc/skel/.config/bspwm/alacritty/fonts.toml: -------------------------------------------------------------------------------- 1 | [font] 2 | size = 10 3 | 4 | [font.bold] 5 | family = "JetBrainsMono Nerd Font" 6 | style = "Bold" 7 | 8 | [font.bold_italic] 9 | family = "JetBrainsMono Nerd Font" 10 | style = "Bold Italic" 11 | 12 | [font.italic] 13 | family = "JetBrainsMono Nerd Font" 14 | style = "Italic" 15 | 16 | [font.normal] 17 | family = "JetBrainsMono Nerd Font" 18 | style = "Medium" 19 | -------------------------------------------------------------------------------- /etc/skel/.config/bspwm/polybar/colors: -------------------------------------------------------------------------------- 1 | [color] 2 | background = #1a1b26 3 | foreground = #a9b1d6 4 | black = #32344a 5 | red = #f7768e 6 | green = #9ece6a 7 | yellow = #e0af68 8 | blue = #7aa2f7 9 | magenta = #ad8ee6 10 | cyan = #449dab 11 | white = #787c99 12 | altblack = #444b6a 13 | altred = #ff7a93 14 | altgreen = #b9f27c 15 | altyellow = #ff9e64 16 | altblue = #7da6ff 17 | altmagenta = #bb9af7 18 | altcyan = #0db9d7 19 | altwhite = #acb0d0 20 | 21 | -------------------------------------------------------------------------------- /etc/skel/.config/bspwm/alacritty/colors.toml: -------------------------------------------------------------------------------- 1 | [colors.bright] 2 | black = "#4C566A" 3 | blue = "#81A1C1" 4 | cyan = "#8FBCBB" 5 | green = "#A3BE8C" 6 | magenta = "#B48EAD" 7 | red = "#BF616A" 8 | white = "#ECEFF4" 9 | yellow = "#EBCB8B" 10 | 11 | [colors.normal] 12 | black = "#3B4252" 13 | blue = "#81A1C1" 14 | cyan = "#88C0D0" 15 | green = "#A3BE8C" 16 | magenta = "#B48EAD" 17 | red = "#BF616A" 18 | white = "#E5E9F0" 19 | yellow = "#EBCB8B" 20 | 21 | [colors.primary] 22 | background = "#2E3440" 23 | foreground = "#D8DEE9" 24 | -------------------------------------------------------------------------------- /etc/skel/.config/bspwm/alacritty/alacritty.toml: -------------------------------------------------------------------------------- 1 | import = ["~/.config/i3/alacritty/colors.toml", "~/.config/i3/alacritty/fonts.toml"] 2 | live_config_reload = true 3 | 4 | [cursor] 5 | unfocused_hollow = false 6 | 7 | [cursor.style] 8 | blinking = "On" 9 | shape = "Block" 10 | 11 | [env] 12 | TERM = "alacritty" 13 | 14 | [window] 15 | decorations = "full" 16 | opacity = 1.0 17 | dynamic_title = true 18 | startup_mode = "Windowed" 19 | 20 | [scrolling] 21 | history = 10000 22 | multiplier = 3 23 | 24 | [window.dimensions] 25 | columns = 82 26 | lines = 25 27 | 28 | [window.padding] 29 | x = 12 30 | y = 12 31 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Axyl 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /etc/skel/.config/bspwm/polybar/launch.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Files and Directories 4 | DIR="$HOME/.config/bspwm/polybar" 5 | SFILE="$DIR/system" 6 | RFILE="$DIR/.system" 7 | MFILE="$DIR/.module" 8 | 9 | ## Get system variable values for various modules 10 | get_values() { 11 | CARD=$(basename "$(find /sys/class/backlight/* | head -n 1)") 12 | BATTERY=$(basename "$(find /sys/class/power_supply/*BAT* | head -n 1)") 13 | ADAPTER=$( "$(find /sys/class/power_supply/*AC* | head -n 1)") 14 | INTERFACE=$(ip link | awk '/state UP/ {print $2}' | tr -d :) 15 | } 16 | 17 | ## Write values to `system` file 18 | set_values() { 19 | if [[ "$ADAPTER" ]]; then 20 | sed -i -e "s/adapter = .*/adapter = $ADAPTER/g" "$SFILE" 21 | fi 22 | if [[ "$BATTERY" ]]; then 23 | sed -i -e "s/battery = .*/battery = $BATTERY/g" "$SFILE" 24 | fi 25 | if [[ "$CARD" ]]; then 26 | sed -i -e "s/graphics_card = .*/graphics_card = $CARD/g" "$SFILE" 27 | fi 28 | if [[ "$INTERFACE" ]]; then 29 | sed -i -e "s/network_interface = .*/network_interface = $INTERFACE/g" "$SFILE" 30 | fi 31 | } 32 | 33 | ## Launch Polybar with selected style 34 | launch_bar() { 35 | CARD=$(basename "$(find /sys/class/backlight/* | head -n 1)") 36 | if [[ "$CARD" != *"intel_"* ]]; then 37 | if [[ ! -f "$MFILE" ]]; then 38 | sed -i -e 's/backlight/brightness/g' "$DIR"/config 39 | touch "$MFILE" 40 | fi 41 | fi 42 | 43 | if [[ ! $(pidof polybar) ]]; then 44 | polybar -q bar -c "$DIR"/config & 45 | else 46 | polybar-msg cmd restart 47 | fi 48 | } 49 | 50 | # Execute functions 51 | if [[ ! -f "$RFILE" ]]; then 52 | get_values 53 | set_values 54 | touch "$RFILE" 55 | fi 56 | 57 | launch_bar 58 | -------------------------------------------------------------------------------- /etc/skel/.config/bspwm/polybar/config: -------------------------------------------------------------------------------- 1 | ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 2 | 3 | [global/wm] 4 | margin-bottom = 0 5 | margin-top = 0 6 | 7 | include-file = ~/.config/bspwm/polybar/colors 8 | include-file = ~/.config/bspwm/polybar/modules 9 | include-file = ~/.config/bspwm/polybar/decor 10 | include-file = ~/.config/bspwm/polybar/system 11 | 12 | ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 13 | 14 | [bar/bar] 15 | monitor = 16 | monitor-fallback = 17 | monitor-strict = false 18 | 19 | override-redirect = false 20 | 21 | bottom = false 22 | fixed-center = true 23 | 24 | width = 98% 25 | height = 25 26 | 27 | offset-x = 1% 28 | offset-y = 1% 29 | 30 | background = ${color.background} 31 | foreground = ${color.foreground} 32 | 33 | radius-top = 0.0 34 | radius-bottom = 0.0 35 | 36 | line-size = 2 37 | line-color = ${color.blue} 38 | 39 | border-size = 6 40 | border-color = ${color.background} 41 | 42 | padding = 0 43 | 44 | module-margin-left = 0 45 | module-margin-right = 0 46 | 47 | wm-restack = bspwm 48 | 49 | font-0 = "Source Code Pro Medium:size=10;3" 50 | font-1 = "Iosevka Nerd Font:size=12;3" 51 | font-2 = "Iosevka Nerd Font:size=16;4" 52 | font-3 = "Iosevka Nerd Font:size=18;4" 53 | font-4 = "Source Code Pro Bold:size=13;3" 54 | 55 | # Default 56 | modules-left = spacing BLD launcher BRD sep bspwm sep spacing MLD mod GMPL network GRD 57 | modules-center = 58 | modules-right = BLD battery MPL volume RPL brightness RRD sep GLD cpu YPL memory CPL filesystem CRD sep BLD time BRD spacing 59 | 60 | spacing = 0 61 | dim-value = 1.0 62 | 63 | tray-position = right 64 | tray-detached = false 65 | tray-maxsize = 16 66 | tray-background = ${color.background} 67 | tray-offset-x = 0 68 | tray-offset-y = 0 69 | tray-padding = 0 70 | tray-scale = 1.0 71 | 72 | enable-ipc = true 73 | 74 | cursor-click = 75 | cursor-scroll = 76 | 77 | ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 78 | 79 | [settings] 80 | throttle-output = 5 81 | throttle-output-for = 10 82 | 83 | screenchange-reload = false 84 | 85 | compositing-background = source 86 | compositing-foreground = over 87 | compositing-overline = over 88 | compositing-underline = over 89 | compositing-border = over 90 | 91 | pseudo-transparency = false 92 | 93 | ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 94 | -------------------------------------------------------------------------------- /etc/skel/.config/bspwm/bspwmrc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | # Restore wallpaper 4 | bash $HOME/.config/bspwm/.fehbg 5 | 6 | pgrep -x sxhkd > /dev/null || sxhkd & 7 | $HOME/.config/bspwm/polybar/launch.sh 8 | 9 | workspaces() { 10 | name=1 11 | for monitor in `bspc query -M`; do 12 | bspc monitor ${monitor} -n "$name" -d '' '' '' '' '' '' '漣' 13 | let name++ 14 | done 15 | } 16 | workspaces 17 | 18 | bspc config border_width 3 19 | bspc config window_gap 10 20 | bspc config split_ratio 0.50 21 | 22 | bspc config focused_border_color "#7aa2f7" 23 | bspc config normal_border_color "#32344a" 24 | bspc config active_border_color "#444b6a" 25 | 26 | bspc config borderless_monocle true 27 | bspc config gapless_monocle true 28 | bspc config paddingless_monocle true 29 | bspc config single_monocle false 30 | bspc config focus_follows_pointer true 31 | 32 | # fix pointer 33 | xsetroot -cursor_name left_ptr 34 | 35 | # workspace 1 (Terminals) 36 | declare -a terminal=(Alacritty Xfce4-terminal) 37 | for i in ${terminal[@]}; do 38 | bspc rule -a $i desktop='^1' follow=on focus=on; done 39 | 40 | # workspace 2 (Internet Browser) 41 | declare -a web=(firefox discord) 42 | for i in ${web[@]}; do 43 | bspc rule -a $i desktop='^2' follow=on focus=on; done 44 | 45 | # workspace 3 (Files) 46 | declare -a filem=(Thunar Pcmanfm qBittorrent) 47 | for i in ${filem[@]}; do 48 | bspc rule -a $i desktop='^3' follow=on focus=on; done 49 | 50 | # workspace 4 (Text Editor) 51 | declare -a office=(Code Geany) 52 | for i in ${office[@]}; do 53 | bspc rule -a $i desktop='^4' follow=on focus=on; done 54 | 55 | # workspace 5 (Media) 56 | declare -a media=(vlc obs mpv mplayer lxmusic Gimp Gimp-2.10 \ 57 | "VirtualBox Manager") 58 | for i in ${media[@]}; do 59 | bspc rule -a $i desktop='^5' follow=on focus=on; done 60 | 61 | # workspace 7 (Settings) 62 | declare -a settings=(GParted Lxappearance Lxtask Lxrandr Arandr \ 63 | Pavucontrol Xfce4-settings-manager) 64 | for i in ${settings[@]}; do 65 | bspc rule -a $i desktop='^7' follow=on focus=on; done 66 | 67 | # floating windows 68 | declare -a floats=(Alafloat Lxappearance Arandr \ 69 | Viewnior Pcmanfm feh Nm-connection-editor Matplotlib Yad) 70 | for i in ${floats[@]}; do 71 | bspc rule -a $i state=floating follow=on focus=on; done 72 | 73 | ## Autostart 74 | 75 | # Kill if already running 76 | killall -9 picom sxhkd dunst xfce4-power-manager ksuperkey eww 77 | 78 | # Launch Conkeww 79 | sed -i "s/colors\/color-.*/colors\/color-tokyo.yuck\")/g" $HOME/.config/conkeww/eww.yuck 80 | eww --config $HOME/.config/conkeww/ open conkeww-main 81 | 82 | # Launch notification daemon 83 | dunst -config $HOME/.config/bspwm/dunstrc & 84 | 85 | # Enable Super Keys For Menu 86 | ksuperkey -e 'Super_L=Alt_L|F1' & 87 | ksuperkey -e 'Super_R=Alt_L|F1' & 88 | 89 | # polkit agent 90 | if [[ ! `pidof xfce-polkit` ]]; then 91 | /usr/lib/xfce-polkit/xfce-polkit & 92 | fi 93 | 94 | # Launch keybindings daemon 95 | sxhkd & 96 | 97 | # Enable power management 98 | xfce4-power-manager & 99 | 100 | # start compositor 101 | while pgrep -u $UID -x picom >/dev/null; do sleep 1; done 102 | picom --config $HOME/.config/bspwm/picom.conf & 103 | 104 | # replace neovim colorscheme 105 | sed -i "s/theme =.*$/theme = \"tokyonight\",/g" $HOME/.config/nvim/lua/custom/chadrc.lua 106 | 107 | # change xfce4-terminal colorscheme 108 | XFCE_TERM_PATH="$HOME/.config/xfce4/terminal" 109 | cp "$XFCE_TERM_PATH"/colorschemes/tokyo-night "$XFCE_TERM_PATH"/terminalrc 110 | 111 | # change cava colorscheme 112 | CAVA_PATH="$HOME/.config/cava" 113 | cp "$CAVA_PATH"/colorschemes/tokyo-night "$CAVA_PATH"/config 114 | -------------------------------------------------------------------------------- /etc/skel/.config/bspwm/polybar/decor: -------------------------------------------------------------------------------- 1 | [module/spacing] 2 | type = custom/text 3 | content = " " 4 | content-background = ${color.background} 5 | 6 | [module/sep] 7 | type = custom/text 8 | ;content =  9 | content = "" 10 | 11 | content-font = 3 12 | content-background = ${color.background} 13 | content-foreground = ${color.altblack} 14 | content-padding = 1 15 | 16 | ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 17 | 18 | [module/LD] 19 | type = custom/text 20 | content = "%{T3}%{T-}" 21 | content-background = ${color.background} 22 | content-foreground = ${color.altblack} 23 | 24 | [module/RD] 25 | type = custom/text 26 | content = "%{T3}%{T-}" 27 | content-background = ${color.background} 28 | content-foreground = ${color.altblack} 29 | 30 | ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 31 | 32 | [module/RLD] 33 | type = custom/text 34 | content = "%{T3}%{T-}" 35 | content-font = 3 36 | content-background = ${color.background} 37 | content-foreground = ${color.red} 38 | 39 | [module/RRD] 40 | type = custom/text 41 | content = "%{T3}%{T-}" 42 | content-font = 3 43 | content-background = ${color.background} 44 | content-foreground = ${color.red} 45 | 46 | ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 47 | 48 | [module/WLD] 49 | type = custom/text 50 | content = "%{T3}%{T-}" 51 | content-font = 3 52 | content-background = ${color.background} 53 | content-foreground = ${color.white} 54 | 55 | [module/WRD] 56 | type = custom/text 57 | content = "%{T3}%{T-}" 58 | content-font = 3 59 | content-background = ${color.background} 60 | content-foreground = ${color.white} 61 | 62 | ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 63 | 64 | 65 | [module/CLD] 66 | type = custom/text 67 | content = "%{T3}%{T-}" 68 | content-font = 3 69 | content-background = ${color.background} 70 | content-foreground = ${color.cyan} 71 | 72 | [module/CRD] 73 | type = custom/text 74 | content = "%{T3}%{T-}" 75 | content-font = 3 76 | content-background = ${color.background} 77 | content-foreground = ${color.cyan} 78 | 79 | ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 80 | 81 | 82 | [module/MLD] 83 | type = custom/text 84 | content = "%{T3}%{T-}" 85 | content-font = 3 86 | content-background = ${color.background} 87 | content-foreground = ${color.magenta} 88 | 89 | [module/MRD] 90 | type = custom/text 91 | content = "%{T3}%{T-}" 92 | content-font = 3 93 | content-background = ${color.background} 94 | content-foreground = ${color.magenta} 95 | 96 | ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 97 | 98 | 99 | [module/YLD] 100 | type = custom/text 101 | content = "%{T3}%{T-}" 102 | content-font = 3 103 | content-background = ${color.background} 104 | content-foreground = ${color.yellow} 105 | 106 | [module/YRD] 107 | type = custom/text 108 | content = "%{T3}%{T-}" 109 | content-font = 3 110 | content-background = ${color.background} 111 | content-foreground = ${color.yellow} 112 | 113 | ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 114 | 115 | 116 | [module/GLD] 117 | type = custom/text 118 | content = "%{T3}%{T-}" 119 | content-font = 3 120 | content-background = ${color.background} 121 | content-foreground = ${color.green} 122 | 123 | [module/GRD] 124 | type = custom/text 125 | content = "%{T3}%{T-}" 126 | content-font = 3 127 | content-background = ${color.background} 128 | content-foreground = ${color.green} 129 | 130 | ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 131 | 132 | [module/BLD] 133 | type = custom/text 134 | content = "%{T3}%{T-}" 135 | content-font = 3 136 | content-background = ${color.background} 137 | content-foreground = ${color.blue} 138 | 139 | [module/BRD] 140 | type = custom/text 141 | content = "%{T3}%{T-}" 142 | content-font = 3 143 | content-background = ${color.background} 144 | content-foreground = ${color.blue} 145 | 146 | ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 147 | 148 | [module/YPL] 149 | type = custom/text 150 | content = "%{T3}%{T-}" 151 | content-font = 3 152 | content-background = ${color.green} 153 | content-foreground = ${color.yellow} 154 | 155 | [module/CPL] 156 | type = custom/text 157 | content = "%{T3}%{T-}" 158 | content-font = 3 159 | content-background = ${color.yellow} 160 | content-foreground = ${color.cyan} 161 | 162 | [module/GPL] 163 | type = custom/text 164 | content = "%{T3}%{T-}" 165 | content-font = 3 166 | content-background = ${color.red} 167 | content-foreground = ${color.green} 168 | 169 | [module/RPL] 170 | type = custom/text 171 | content = "%{T3}%{T-}" 172 | content-font = 3 173 | content-background = ${color.magenta} 174 | content-foreground = ${color.red} 175 | 176 | [module/MPL] 177 | type = custom/text 178 | content = "%{T3}%{T-}" 179 | content-font = 3 180 | content-background = ${color.blue} 181 | content-foreground = ${color.magenta} 182 | 183 | [module/GMPL] 184 | type = custom/text 185 | content = "%{T3}%{T-}" 186 | content-font = 3 187 | content-background = ${color.magenta} 188 | content-foreground = ${color.green} 189 | ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 190 | -------------------------------------------------------------------------------- /etc/skel/.config/bspwm/dunstrc: -------------------------------------------------------------------------------- 1 | [global] 2 | font = JetBrainsMono Nerd Font 10 3 | 4 | # Allow a small subset of html markup: 5 | # bold 6 | # italic 7 | # strikethrough 8 | # underline 9 | # 10 | # For a complete reference see 11 | # . 12 | # If markup is not allowed, those tags will be stripped out of the 13 | # message. 14 | markup = full 15 | 16 | # The format of the message. Possible variables are: 17 | # %a appname 18 | # %s summary 19 | # %b body 20 | # %i iconname (including its path) 21 | # %I iconname (without its path) 22 | # %p progress value if set ([ 0%] to [100%]) or nothing 23 | # Markup is allowed 24 | format = "%s\n%b" 25 | 26 | # Sort messages by urgency. 27 | sort = no 28 | 29 | # Show how many messages are currently hidden (because of geometry). 30 | indicate_hidden = yes 31 | 32 | # Alignment of message text. 33 | # Possible values are "left", "center" and "right". 34 | alignment = left 35 | 36 | # Show age of message if message is older than show_age_threshold 37 | # seconds. 38 | # Set to -1 to disable. 39 | show_age_threshold = 60 40 | 41 | # Split notifications into multiple lines if they don't fit into 42 | # geometry. 43 | word_wrap = yes 44 | 45 | # Ignore newlines '\n' in notifications. 46 | ignore_newline = no 47 | 48 | # Hide duplicate's count and stack them 49 | stack_duplicates = false 50 | hide_duplicate_count = yes 51 | 52 | 53 | # The geometry of the window: 54 | # [{width}]x{height}[+/-{x}+/-{y}] 55 | # The geometry of the message window. 56 | # The height is measured in number of notifications everything else 57 | # in pixels. If the width is omitted but the height is given 58 | # ("-geometry x2"), the message window expands over the whole screen 59 | # (dmenu-like). If width is 0, the window expands to the longest 60 | # message displayed. A positive x is measured from the left, a 61 | # negative from the right side of the screen. Y is measured from 62 | # the top and down respectevly. 63 | # The width can be negative. In this case the actual width is the 64 | # screen width minus the width defined in within the geometry option. 65 | #geometry = "250x50-40+40" 66 | geometry = "280x50-10+44" 67 | 68 | # Shrink window if it's smaller than the width. Will be ignored if 69 | # width is 0. 70 | shrink = no 71 | 72 | # Don't remove messages, if the user is idle (no mouse or keyboard input) 73 | # for longer than idle_threshold seconds. 74 | # Set to 0 to disable. 75 | idle_threshold = 120 76 | 77 | # Which monitor should the notifications be displayed on. 78 | monitor = 0 79 | 80 | # Display notification on focused monitor. Possible modes are: 81 | # mouse: follow mouse pointer 82 | # keyboard: follow window with keyboard focus 83 | # none: don't follow anything 84 | # 85 | # "keyboard" needs a windowmanager that exports the 86 | # _NET_ACTIVE_WINDOW property. 87 | # This should be the case for almost all modern windowmanagers. 88 | # 89 | # If this option is set to mouse or keyboard, the monitor option 90 | # will be ignored. 91 | follow = mouse 92 | 93 | # Should a notification popped up from history be sticky or timeout 94 | # as if it would normally do. 95 | sticky_history = yes 96 | 97 | # Maximum amount of notifications kept in history 98 | history_length = 20 99 | 100 | # Display indicators for URLs (U) and actions (A). 101 | show_indicators = no 102 | 103 | # The height of a single line. If the height is smaller than the 104 | # font height, it will get raised to the font height. 105 | # This adds empty space above and under the text. 106 | line_height = 4 107 | 108 | # Draw a line of "separatpr_height" pixel height between two 109 | # notifications. 110 | # Set to 0 to disable. 111 | separator_height = 4 112 | 113 | # Padding between text and separator. 114 | padding = 20 115 | 116 | # Horizontal padding. 117 | horizontal_padding = 20 118 | 119 | # Define a color for the separator. 120 | # possible values are: 121 | # * auto: dunst tries to find a color fitting to the background; 122 | # * foreground: use the same color as the foreground; 123 | # * frame: use the same color as the frame; 124 | # * anything else will be interpreted as a X color. 125 | separator_color = auto 126 | 127 | # Print a notification on startup. 128 | # This is mainly for error detection, since dbus (re-)starts dunst 129 | # automatically after a crash. 130 | startup_notification = true 131 | 132 | # Browser for opening urls in context menu. 133 | browser = x-www-browser -new-tab 134 | 135 | always_run_script = true 136 | title = Dunst 137 | class = Dunst 138 | 139 | # Align icons left/right/off 140 | icon_position = left 141 | max_icon_size = 48 142 | 143 | frame_width = 2 144 | 145 | [shortcuts] 146 | 147 | # Shortcuts are specified as [modifier+][modifier+]...key 148 | # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2", 149 | # "mod3" and "mod4" (windows-key). 150 | # Xev might be helpful to find names for keys. 151 | 152 | # Close notification. 153 | close = ctrl+shift+space 154 | 155 | # Close all notifications. 156 | close_all = ctrl+shift+space 157 | 158 | # Redisplay last message(s). 159 | # On the US keyboard layout "grave" is normally above TAB and left 160 | # of "1". 161 | history = ctrl+grave 162 | 163 | # Context menu. 164 | context = ctrl+shift+period 165 | 166 | [urgency_low] 167 | # IMPORTANT: colors have to be defined in quotation marks. 168 | # Otherwise the "#" and following would be interpreted as a comment. 169 | frame_color = "#7aa2f7" 170 | foreground = "#7aa2f7" 171 | background = "#1a1b26" 172 | timeout = 5 173 | 174 | [urgency_normal] 175 | frame_color = "#444b6a" 176 | foreground = "#a9b1d6" 177 | background = "#1a1b26" 178 | timeout = 5 179 | 180 | [urgency_critical] 181 | frame_color = "#f7768e" 182 | foreground = "#f7768e" 183 | background = "#1a1b26" 184 | timeout = 5 185 | 186 | 187 | # Every section that isn't one of the above is interpreted as a rules to 188 | # override settings for certain messages. 189 | # Messages can be matched by "appname", "summary", "body", "icon", "category", 190 | # "msg_urgency" and you can override the "timeout", "urgency", "foreground", 191 | # "background", "new_icon" and "format". 192 | # Shell-like globbing will get expanded. 193 | # 194 | # SCRIPTING 195 | # You can specify a script that gets run when the rule matches by 196 | # setting the "script" option. 197 | # The script will be called as follows: 198 | # script appname summary body icon urgency 199 | # where urgency can be "LOW", "NORMAL" or "CRITICAL". 200 | # 201 | # NOTE: if you don't want a notification to be displayed, set the format 202 | # to "". 203 | # NOTE: It might be helpful to run dunst -print in a terminal in order 204 | # to find fitting options for rules. 205 | 206 | #[espeak] 207 | # summary = "*" 208 | # script = dunst_espeak.sh 209 | 210 | #[script-test] 211 | # summary = "*script*" 212 | # script = dunst_test.sh 213 | 214 | #[ignore] 215 | # # This notification will not be displayed 216 | # summary = "foobar" 217 | # format = "" 218 | 219 | #[signed_on] 220 | # appname = Pidgin 221 | # summary = "*signed on*" 222 | # urgency = low 223 | # 224 | #[signed_off] 225 | # appname = Pidgin 226 | # summary = *signed off* 227 | # urgency = low 228 | # 229 | #[says] 230 | # appname = Pidgin 231 | # summary = *says* 232 | # urgency = critical 233 | # 234 | #[twitter] 235 | # appname = Pidgin 236 | # summary = *twitter.com* 237 | # urgency = normal 238 | # 239 | # vim: ft=cfg 240 | -------------------------------------------------------------------------------- /etc/skel/.config/bspwm/polybar/modules: -------------------------------------------------------------------------------- 1 | ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 2 | 3 | [module/backlight] 4 | type = internal/xbacklight 5 | 6 | ; Use the following command to list available cards: 7 | ; $ ls -1 /sys/class/backlight/ 8 | card = intel_backlight 9 | 10 | format =