diff options
Diffstat (limited to '')
-rw-r--r-- | .config/lf/lfrc | 1 | ||||
-rw-r--r-- | .config/mpv/mpv.conf | 2 | ||||
-rw-r--r-- | .config/nvim/lua/config/lazy.lua | 2 | ||||
-rw-r--r-- | .config/x11/xinitrc | 19 | ||||
-rw-r--r-- | .config/zsh/plugins.zsh | 1 | ||||
-rwxr-xr-x | .local/bin/dmapps | 2 | ||||
-rwxr-xr-x | .local/bin/dmlog | 2 | ||||
-rwxr-xr-x | .local/bin/scr1 | 2 | ||||
-rwxr-xr-x | .local/bin/scr2 | 27 | ||||
-rwxr-xr-x | .local/bin/scr3 | 2 |
10 files changed, 38 insertions, 22 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 60a0964..5565b0b 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -68,6 +68,7 @@ map <c-s> $$SHELL map <c-n> push :mkdir<space> map <f-7> push :mkdir<space> map <c-r> reload +map <c-g> clear cmap <c-g> cmd-escape map x !$f map X $$f diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index d1f0c60..749a32a 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -1,5 +1,5 @@ # video-sync=display-resample -vo=x11 +vo=gpu osc=yes cache=yes demuxer-max-bytes=4GiB diff --git a/.config/nvim/lua/config/lazy.lua b/.config/nvim/lua/config/lazy.lua index 5041634..2b8d66d 100644 --- a/.config/nvim/lua/config/lazy.lua +++ b/.config/nvim/lua/config/lazy.lua @@ -83,7 +83,7 @@ require('lazy').setup({ default_overlength = 80, grace_length = 1, highlight_to_eol = true, - disable_ft = { 'qf', 'help', 'man', 'checkhealth', 'lazy', 'packer', 'NvimTree', 'Telescope', 'WhichKey', 'text', 'csv', 'lua', 'gosum', '' } + disable_ft = { 'qf', 'help', 'man', 'checkhealth', 'lazy', 'packer', 'NvimTree', 'Telescope', 'WhichKey', 'text', 'csv', 'lua', 'gosum', 'sh', '' } } end }, diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 8c23f02..8d033d2 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -63,14 +63,15 @@ start_apps() { } export LANG='en_US.UTF-8' -[ $host = "mother" ] && xrandr \ - --output HDMI-0 --mode 1920x1080 --pos 2560x0 --rotate normal \ - --output DP-0 --off \ - --output DP-1 --off \ - --output DP-2 --off \ - --output DP-3 --off \ - --output DP-4 --primary --mode 2560x1440 --rate 180 --pos 0x0 --rotate normal \ - --output DP-5 --off +[ $host = "mother" ] && "$HOME"/.local/bin/scr2 +# [ $host = "mother" ] && xrandr \ +# --output HDMI-0 --mode 1920x1080 --pos 2560x0 --rotate normal \ +# --output DP-0 --off \ +# --output DP-1 --off \ +# --output DP-2 --off \ +# --output DP-3 --off \ +# --output DP-4 --primary --mode 2560x1440 --rate 180 --pos 0x0 --rotate normal \ +# --output DP-5 --off [ $host = "po-rbo" ] && xrandr \ --output eDP-1 --mode 1920x1200 --pos 0x0 --rotate normal \ --output HDMI-1 --primary --mode 2560x1440 --pos 1920x0 --rotate normal \ @@ -79,7 +80,7 @@ export LANG='en_US.UTF-8' --output VIRTUAL-1 --off dunst_shit -startif picom +[ $host = "po-rbo" ] && startif picom pgrep $mpd >/dev/null || $mpd >/dev/null 2>&1 xset s off xset -dpms diff --git a/.config/zsh/plugins.zsh b/.config/zsh/plugins.zsh index a6281cb..77bffa1 100644 --- a/.config/zsh/plugins.zsh +++ b/.config/zsh/plugins.zsh @@ -13,5 +13,4 @@ source $HOME/.local/packs/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh >/dev/null source $HOME/.local/packs/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh >/dev/null -/home/r_bousset/.local/packs/fzf-zsh-plugin/fzf-zsh-plugin.plugin.zsh # [[ -r "/usr/share/z/z.sh" ]] && source /usr/share/z/z.sh diff --git a/.local/bin/dmapps b/.local/bin/dmapps index ccefc76..0ce4c81 100755 --- a/.local/bin/dmapps +++ b/.local/bin/dmapps @@ -41,6 +41,7 @@ use constant PROG_LIST => "" . "Liferea" . "\n" . "HexChat" . "\n" . "--- Audio ---" . "\n" . +"Ardour" . "\n" . "REAPER" . "\n" . "Audacity" . "\n" . "Pulse Control Panel" . "\n" . @@ -104,6 +105,7 @@ sub run exec("signal-desktop") if $action =~ "Signal"; exec("liferea") if $action =~ "Liferea"; exec("hexchat") if $action =~ "HexChat"; + exec("ardour8") if $action =~ "Ardour"; exec("reaper") if $action =~ "REAPER"; exec("audacity") if $action =~ "Audacity"; exec("pavucontrol") if $action =~ "Pulse Control Panel"; diff --git a/.local/bin/dmlog b/.local/bin/dmlog index 7264d75..9244cbf 100755 --- a/.local/bin/dmlog +++ b/.local/bin/dmlog @@ -90,6 +90,7 @@ sub action ); sleep 2; if (HOSTNAME eq 'mother') { + system('umount', '-f', '/var/dev/ceres'); exec(LOGINCTL_PATH, 'suspend'); } elsif (HOSTNAME eq 'po-rbo') { @@ -109,6 +110,7 @@ sub action elsif ($var eq ${+LIST}[3]) { if (confirm($var, $color) == 1) { if (HOSTNAME eq 'mother') { + system('umount', '-f', '/var/dev/ceres'); exec(LOGINCTL_PATH, 'reboot'); } elsif (HOSTNAME eq 'po-rbo') { diff --git a/.local/bin/scr1 b/.local/bin/scr1 index 9e94aef..4c41065 100755 --- a/.local/bin/scr1 +++ b/.local/bin/scr1 @@ -6,7 +6,7 @@ xrandr \ --output DP-1 --off \ --output DP-2 --off \ --output DP-3 --off \ - --output DP-4 --primary --mode 2560x1440 --rate 180 --pos 0x0 --rotate normal \ + --output DP-4 --primary --mode 2560x1440 --rate 144 --pos 0x0 --rotate normal \ --output DP-5 --off setwp "$HOME"/pics/wp.png diff --git a/.local/bin/scr2 b/.local/bin/scr2 index ea823c8..b0e7063 100755 --- a/.local/bin/scr2 +++ b/.local/bin/scr2 @@ -1,12 +1,23 @@ #!/bin/sh -xrandr \ - --output HDMI-0 --mode 1920x1080 --pos 2560x0 --rotate normal \ - --output DP-0 --off \ - --output DP-1 --off \ - --output DP-2 --off \ - --output DP-3 --off \ - --output DP-4 --primary --mode 2560x1440 --rate 180 --pos 0x0 --rotate normal \ - --output DP-5 --off +if [ $1 == "low" ]; then + xrandr \ + --output HDMI-0 --mode 1920x1080 --pos 1920x0 --rotate normal \ + --output DP-0 --off \ + --output DP-1 --off \ + --output DP-2 --off \ + --output DP-3 --off \ + --output DP-4 --primary --mode 1920x1080 --rate 180 --pos 0x0 --rotate normal \ + --output DP-5 --off +else + xrandr \ + --output HDMI-0 --mode 1920x1080 --pos 2560x0 --rotate normal \ + --output DP-0 --off \ + --output DP-1 --off \ + --output DP-2 --off \ + --output DP-3 --off \ + --output DP-4 --primary --mode 2560x1440 --rate 144 --pos 0x0 --rotate normal \ + --output DP-5 --off +fi setwp "$HOME"/pics/wp.png diff --git a/.local/bin/scr3 b/.local/bin/scr3 index 1724e90..a035fb0 100755 --- a/.local/bin/scr3 +++ b/.local/bin/scr3 @@ -6,7 +6,7 @@ xrandr \ --output DP-1 --off \ --output DP-2 --mode 1680x1050 --pos 0x0 --rotate normal \ --output DP-3 --off \ - --output DP-4 --primary --mode 2560x1440 --rate 180 --pos 1680x0 --rotate normal \ + --output DP-4 --primary --mode 2560x1440 --rate 144 --pos 1680x0 --rotate normal \ --output DP-5 --off |