diff options
| -rw-r--r-- | .config/nvim/lua/config/lazy.lua | 2 | ||||
| -rw-r--r-- | .config/x11/xresources | 2 | ||||
| -rwxr-xr-x | .local/bin/dmscrot | 3 | ||||
| -rwxr-xr-x | .local/bin/kb | 2 | ||||
| -rwxr-xr-x | .local/bin/mic | 8 | ||||
| -rwxr-xr-x | .local/bin/mixer-set | 6 | ||||
| -rwxr-xr-x | .local/bin/setwp | 4 |
7 files changed, 13 insertions, 14 deletions
diff --git a/.config/nvim/lua/config/lazy.lua b/.config/nvim/lua/config/lazy.lua index 2e6ad0e..7c3bd3b 100644 --- a/.config/nvim/lua/config/lazy.lua +++ b/.config/nvim/lua/config/lazy.lua @@ -22,6 +22,7 @@ vim.g.mapleader = "\\" vim.g.maplocalleader = "\\" require('lazy').setup({ + ui = { icons = { cmd = "", config = "", debug = "", event = "", favorite = "", ft = "", init = "", import = "", keys = "", lazy = "", loaded = "", not_loaded = "", plugin = "", runtime = "", require = "", source = "", start = "", task = "", list = { "", "", "", "", }, }, }, spec = { { 'windwp/nvim-autopairs', @@ -119,7 +120,6 @@ require('lazy').setup({ }, { 'ibhagwan/fzf-lua', - dependencies = { 'nvim-tree/nvim-web-devicons' }, opts = { defaults = { file_icons = false, diff --git a/.config/x11/xresources b/.config/x11/xresources index 91a3b6f..af461d9 100644 --- a/.config/x11/xresources +++ b/.config/x11/xresources @@ -9,6 +9,6 @@ Xcursor.theme: "Simp1e-Gruvbox-Dark" Xcursor.size: 18 Nsxiv.window.background: #1d2021 Nsxiv.window.foreground: #ebdbb2 -Nsxiv.bar.font: BlexMono Nerd Font-13 +Nsxiv.bar.font: BlexMono Nerd Font-10 Vncviewer.grabKeyboard: true Vncviewer.FullScreen: 1 diff --git a/.local/bin/dmscrot b/.local/bin/dmscrot index 2746cd7..b23d886 100755 --- a/.local/bin/dmscrot +++ b/.local/bin/dmscrot @@ -40,8 +40,7 @@ sub notify_img if (not $pid) { system( NOTIFY_PATH, - ' screenshot captured to ' . "\n" . - $file + 'screenshot captured to ' . "\n" . $file ); } return; diff --git a/.local/bin/kb b/.local/bin/kb index dd77f11..32cf2a2 100755 --- a/.local/bin/kb +++ b/.local/bin/kb @@ -57,7 +57,7 @@ config_keyboard() { xmodmap -e 'keycode 23 = Escape' xmodmap -e 'keycode 37 =' fi - herbe ' kb set' & + herbe 'kb set' & } config_keyboard diff --git a/.local/bin/mic b/.local/bin/mic index 06597ff..67a9bfa 100755 --- a/.local/bin/mic +++ b/.local/bin/mic @@ -32,10 +32,10 @@ sub mic my $muted = `/usr/bin/pactl get-source-mute \@DEFAULT_SOURCE\@ | awk '{print \$2}'`; chomp $muted; if ($muted eq "yes") { - notify(' muted'); + notify('[mic] muted'); } else { - notify(' restored'); + notify('[mic] restored'); } exit; } @@ -45,12 +45,12 @@ sub mic capture { system(MIXER_PATH, 'rec', '100'); }; - notify(' microphone restored'); + notify('[mic] microphone restored'); } else { capture { system(MIXER_PATH, 'rec', '0'); - notify(' microphone muted'); + notify('[mic] microphone muted'); }; } return; diff --git a/.local/bin/mixer-set b/.local/bin/mixer-set index 3979ff2..2f905ca 100755 --- a/.local/bin/mixer-set +++ b/.local/bin/mixer-set @@ -62,7 +62,7 @@ sub main { } $curr_vol = `$curr_vol_cmd`; chomp $curr_vol; - notify(' ' . $curr_vol); + notify('[vol] ' . $curr_vol); exit; } elsif ($ARGV[0] eq "toggle") { @@ -85,7 +85,7 @@ sub main { ); }; } - notify(' muted'); + notify('[vol] muted'); } else { open(my $fh, '<:encoding(UTF-8)', $tmp_file); @@ -104,7 +104,7 @@ sub main { ); }; } - notify(' ' . $curr_vol); + notify('[vol] ' . $curr_vol); } exit; } diff --git a/.local/bin/setwp b/.local/bin/setwp index 647a332..fa0d255 100755 --- a/.local/bin/setwp +++ b/.local/bin/setwp @@ -95,8 +95,8 @@ sub main if (@ARGV == 0 || (@ARGV != 0 && $ARGV[0] ne '-nw')) { my $arg = fork(); if (not $arg) { - exec('herbe', ' wp set') if ($ret == 0); - exec('herbe', ' wp is not a valid file') if ($ret != 0); + exec('herbe', 'wp set') if ($ret == 0); + exec('herbe', 'wp is not a valid file') if ($ret != 0); } } return; |
