mirror of
https://git.davidovski.xyz/dot.git
synced 2024-08-15 00:43:28 +00:00
Change st zoom keybind
This commit is contained in:
parent
57aad4d528
commit
90a7d7ceb3
17 changed files with 82 additions and 529 deletions
|
@ -4,17 +4,16 @@ setup=0
|
|||
COLOR_BACKGROUND="#282a2e"
|
||||
COLOR_PRIMARY="#fefefe"
|
||||
COLOR_SECONDARY="#707880"
|
||||
BORDER=3
|
||||
BORDER=2
|
||||
|
||||
hsetroot -solid $COLOR_BACKGROUND &
|
||||
xsetroot -cursor_name left_ptr &
|
||||
xrdb ~/.config/Xdefaults
|
||||
|
||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||
#pgrep -x picom > /dev/null || picom &
|
||||
pgrep -x picom > /dev/null || picom &
|
||||
pgrep -x xss-lock > /dev/null || xss-lock slock &
|
||||
pgrep -x bg.sh > /dev/null || $HOME/.scripts/bg.sh > /dev/null &
|
||||
pgrep -x xcompmgr > /dev/null || xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55 &
|
||||
|
||||
[ -f "$HOME/.config/xrandr.sh" ] && . $HOME/.config/xrandr.sh
|
||||
|
||||
|
@ -30,6 +29,7 @@ for m in $(bspc query -M --names); do
|
|||
bspc monitor $m -d ${m}1 ${m}2 ${m}3 ${m}4 ${m}5 ${m}6 ${m}7 ${m}8 ${m}9
|
||||
done
|
||||
|
||||
|
||||
$HOME/.config/polybar/launch.sh &
|
||||
|
||||
bspc config border_width $BORDER
|
||||
|
@ -38,19 +38,19 @@ $HOME/.scripts/toggle-gap.sh
|
|||
|
||||
## individual rules
|
||||
bspc rule -a Zathura state=tiled
|
||||
bspc rule -a feh state=fullscreen
|
||||
bspc rule -a feh state=floating
|
||||
|
||||
bspc config focus_follows_pointer false
|
||||
|
||||
|
||||
bspc config normal_border_color "$COLOR_SECONDARY"
|
||||
bspc config active_border_color "$COLOR_SECONDARY"
|
||||
bspc config focused_border_color "$COLOR_PRIMARY"
|
||||
wmname
|
||||
wmname bspwm
|
||||
|
||||
sleep 1
|
||||
|
||||
pgrep -x pipewire > /dev/null || pipewire &
|
||||
pgrep -x pipewire-pulse > /dev/null || pipewire-pulse &
|
||||
pgrep -x wireplumber > /dev/null || wireplumber &
|
||||
#pgrep -x pipewire > /dev/null || pipewire &
|
||||
#pgrep -x pipewire-pulse > /dev/null || pipewire-pulse &
|
||||
#pgrep -x wireplumber > /dev/null || wireplumber &
|
||||
|
||||
$HOME/.scripts/start-mpd
|
||||
|
|
|
@ -56,10 +56,10 @@
|
|||
# For alsa 'source' will be the capture device.
|
||||
# For fifo 'source' will be the path to fifo-file.
|
||||
# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address
|
||||
source = auto
|
||||
; source = auto
|
||||
|
||||
; method = alsa
|
||||
; source = hw:Loopback,1
|
||||
method = alsa
|
||||
source = hw:Loopback,1
|
||||
|
||||
; method = fifo
|
||||
; source = /tmp/mpd.fifo
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
file:///home/david/docs/lmms
|
||||
file:///home/david/docs docs
|
||||
file:///home/david/pics pics
|
||||
file:///home/david/dl dl
|
||||
file:///home/david/video video
|
||||
file:///home/david/music music
|
||||
file:///home/david/pics/screenshot screenshot
|
||||
file:///home/david/docs/proj proj
|
||||
file:///tmp tmp
|
||||
file:///home/david/video/anime
|
||||
file:///home/david/docs/proj/ardour
|
||||
file:///home/x/docs/proj
|
||||
file:///home/x/dl
|
||||
file:///tmp
|
||||
file:///
|
||||
file:///home/x/pics/screenshot
|
||||
|
|
|
@ -13,6 +13,7 @@ application/x-extension-shtml=userapp-Firefox-AK3I01.desktop
|
|||
application/xhtml+xml=userapp-Firefox-AK3I01.desktop
|
||||
application/x-extension-xhtml=userapp-Firefox-AK3I01.desktop
|
||||
application/x-extension-xht=userapp-Firefox-AK3I01.desktop
|
||||
x-scheme-handler/eclipse+command x-scheme-handler/eclipse+mpc=_usr_lib_eclipse_.desktop
|
||||
|
||||
[Added Associations]
|
||||
x-scheme-handler/http=userapp-Firefox-AK3I01.desktop;
|
||||
|
|
|
@ -15,24 +15,14 @@ audio_output {
|
|||
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "mpd pulse"
|
||||
name "mpd"
|
||||
}
|
||||
|
||||
#audio_output {
|
||||
# type "jack"
|
||||
# name "MPD jack"
|
||||
#}
|
||||
|
||||
#audio_output {
|
||||
#type "pipewire"
|
||||
#name "MPD pipewire"
|
||||
#}
|
||||
|
||||
audio_output {
|
||||
type "fifo"
|
||||
name "Visualizer feed"
|
||||
path "/tmp/mpd.fifo"
|
||||
format "22050:16:2"
|
||||
format "44100:16:2"
|
||||
}
|
||||
|
||||
db_file "~/.config/mpd/database"
|
||||
|
|
|
@ -1 +1,5 @@
|
|||
vo=x11
|
||||
#vo=gpu
|
||||
hwdec=auto
|
||||
screenshot-directory=~/pics/screenshot
|
||||
glsl-shaders="~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Upscale_Denoise_CNN.glsl:~~/shaders/Anime4K_Restore_CNN_Moderate_M.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl"
|
||||
|
||||
|
|
|
@ -185,7 +185,7 @@ opacity-rule = [
|
|||
# Bad in performance, with driver-dependent behavior.
|
||||
# The name of the switch may change without prior notifications.
|
||||
#
|
||||
blur-background = false;
|
||||
blur-background = true;
|
||||
|
||||
# Blur background of windows when the window frame is not opaque.
|
||||
# Implies:
|
||||
|
@ -237,7 +237,7 @@ daemon = true
|
|||
# `xrender` is the default one.
|
||||
#
|
||||
experimental-backends = true;
|
||||
backend = "xrender";
|
||||
backend = "glx";
|
||||
|
||||
vsync = true
|
||||
|
||||
|
@ -439,8 +439,8 @@ log-level = "info";
|
|||
#
|
||||
wintypes:
|
||||
{
|
||||
normal = { fade = false; shadow = true;}
|
||||
tooltip = { fade = false; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
||||
normal = { fade = true; shadow = true;}
|
||||
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
||||
dock = { full-shadow = true; }
|
||||
dnd = { shadow = true; }
|
||||
popup_menu = { shadow = true; }
|
||||
|
|
|
@ -40,7 +40,7 @@ modules-right = time
|
|||
|
||||
[bar/ws]
|
||||
inherit = bar/base
|
||||
width = 2510
|
||||
width = 1870
|
||||
offset-x = 25
|
||||
offset-y = 10
|
||||
modules-left = workspaces xwindow
|
||||
|
@ -140,7 +140,7 @@ label-muted = "%{T3} %{T-}--%"
|
|||
type = custom/script
|
||||
exec = pactl list sources | grep -qi 'Mute: yes' && echo "" || echo ""
|
||||
interval = 1
|
||||
click-left = $HOME/.scripts/toggle-mute.sh
|
||||
click-left = $HOME/.scripts/toggle-mic.sh
|
||||
|
||||
[module/vpn]
|
||||
type = custom/script
|
||||
|
@ -153,7 +153,7 @@ format-prefix-foreground = #5b
|
|||
|
||||
[module/temperature]
|
||||
type = custom/script
|
||||
exec = sensors | awk '/^Tctl:/ { print substr($2, 2) }'
|
||||
exec = sensors | awk '/^Core 0:/ { print substr($3, 2) }'
|
||||
format-prefix = " "
|
||||
interval = 1
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
xrdb ~/.config/Xdefaults
|
||||
setxkbmap -option caps:none
|
||||
setxkbmap -option caps:backspace
|
||||
xmodmap -e "clear Lock"
|
||||
exec bspwm
|
||||
|
||||
|
|
|
@ -21,12 +21,11 @@ super + ctrl + alt + f
|
|||
light -U {10,1}
|
||||
{_, super} + XF86MonBrightnessUp
|
||||
light -A {10,1}
|
||||
|
||||
|
||||
|
||||
|
||||
super + r
|
||||
rofi -show drun -show-icons
|
||||
rofi -show drun -show-icons
|
||||
|
||||
super + shift + r
|
||||
rofi -show ssh -show-icons
|
||||
|
@ -35,13 +34,13 @@ super + ctrl + Tab
|
|||
rofi -show window
|
||||
|
||||
super + g
|
||||
$HOME/.scripts/toggle-gap.sh
|
||||
$HOME/.scripts/toggle-gap.sh
|
||||
|
||||
super + shift + g
|
||||
$HOME/.scripts/toggle-size-hints.sh
|
||||
|
||||
# open terminal
|
||||
super + Return
|
||||
super + Return
|
||||
$TERMINAL
|
||||
|
||||
# open pdf viewer
|
||||
|
@ -67,6 +66,11 @@ super + m
|
|||
super + n
|
||||
$FILE_MANAGER
|
||||
|
||||
# open dmenu iwd
|
||||
super + i
|
||||
$HOME/.scripts/dmenu-iwd
|
||||
|
||||
|
||||
# open audio mixer
|
||||
super + semicolon
|
||||
bspc rule -a \* -o state=floating && $TERMINAL -e pulsemixer
|
||||
|
@ -225,6 +229,12 @@ super + f
|
|||
bspc node focused -t floating || \
|
||||
bspc node focused -t tiled;
|
||||
|
||||
# make the node sticky
|
||||
super + d
|
||||
[ -z "$(bspc query -N -n focused.sticky)" ] && \
|
||||
bspc node focused -g sticky=on || \
|
||||
bspc node focused -g stick=off;
|
||||
|
||||
super + ctrl + f
|
||||
bspc node -t \~fullscreen
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ set spelllang=en_gb
|
|||
|
||||
set number relativenumber
|
||||
|
||||
syntax on
|
||||
syntax on
|
||||
|
||||
nnoremap <silent> <C-l> :nohl<CR><C-l>
|
||||
|
||||
|
@ -50,7 +50,7 @@ Plug 'preservim/vim-markdown'
|
|||
|
||||
|
||||
Plug 'neoclide/coc.nvim'
|
||||
hi CocInlayHint ctermbg=Black ctermfg=Gray
|
||||
hi CocInlayHint ctermbg=Black ctermfg=Gray
|
||||
|
||||
set updatetime=300
|
||||
set signcolumn=yes
|
||||
|
@ -118,4 +118,5 @@ call plug#end()
|
|||
|
||||
highlight Pmenu ctermbg=black guibg=black ctermfg=white
|
||||
|
||||
|
||||
hi TrailingWhitespace ctermbg=red guibg=red
|
||||
call matchadd("TrailingWhitespace", '\v\s+$')
|
||||
|
|
|
@ -30,3 +30,5 @@ set selection-clipboard clipboard
|
|||
set guioptions none
|
||||
|
||||
set recolor true
|
||||
|
||||
set first-page-column 1:1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue