Update configs
This commit is contained in:
parent
1ae04a2715
commit
a6a8819a7d
14 changed files with 247 additions and 127 deletions
|
@ -1,5 +1,5 @@
|
||||||
directory: ~/mus
|
directory: ~/mus
|
||||||
library: ~/.local/share/beets/library.db
|
library: ~/mus/beets.db
|
||||||
asciify_paths: yes
|
asciify_paths: yes
|
||||||
|
|
||||||
import:
|
import:
|
||||||
|
@ -27,7 +27,7 @@ rewrite:
|
||||||
'title ^★$': 'Blackstar'
|
'title ^★$': 'Blackstar'
|
||||||
|
|
||||||
replace:
|
replace:
|
||||||
'[#"()\[\]<>:\*\|{}\\!\?]': _
|
'[#"()\[\]<>:\*\|{}\\!\?ʻ`]': _
|
||||||
"'": _
|
"'": _
|
||||||
'[\\/]': _
|
'[\\/]': _
|
||||||
'[\.,;]': _
|
'[\.,;]': _
|
||||||
|
@ -59,7 +59,7 @@ languages: ["nl", "en"]
|
||||||
bell: yes
|
bell: yes
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
- acousticbrainz
|
#- acousticbrainz
|
||||||
- badfiles
|
- badfiles
|
||||||
- edit
|
- edit
|
||||||
- fetchart
|
- fetchart
|
||||||
|
@ -74,7 +74,7 @@ plugins:
|
||||||
- mpdupdate
|
- mpdupdate
|
||||||
- permissions
|
- permissions
|
||||||
- play
|
- play
|
||||||
- replaygain
|
#- replaygain
|
||||||
- rewrite
|
- rewrite
|
||||||
- scrub
|
- scrub
|
||||||
- the
|
- the
|
||||||
|
@ -108,7 +108,10 @@ lastgenre:
|
||||||
source: track
|
source: track
|
||||||
|
|
||||||
# lyrics:
|
# lyrics:
|
||||||
# mbsubmit:
|
|
||||||
|
mbsubmit:
|
||||||
|
threshold: strong
|
||||||
|
|
||||||
# mbsync:
|
# mbsync:
|
||||||
|
|
||||||
mpd:
|
mpd:
|
||||||
|
@ -122,9 +125,6 @@ permissions:
|
||||||
play:
|
play:
|
||||||
command: mpv --vid=no --shuffle
|
command: mpv --vid=no --shuffle
|
||||||
|
|
||||||
replaygain:
|
|
||||||
backend: gstreamer
|
|
||||||
|
|
||||||
the:
|
the:
|
||||||
strip: yes
|
strip: yes
|
||||||
# this string is split on spaces so we use the escape sequence
|
# this string is split on spaces so we use the escape sequence
|
||||||
|
|
19
compton.conf
19
compton.conf
|
@ -56,19 +56,19 @@ glx-swap-method = "undefined";
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
# Enabled client-side shadows on windows.
|
# Enabled client-side shadows on windows.
|
||||||
shadow = true;
|
shadow = false;
|
||||||
# Don't draw shadows on DND windows.
|
# Don't draw shadows on DND windows.
|
||||||
no-dnd-shadow = true;
|
no-dnd-shadow = true;
|
||||||
# Avoid drawing shadows on dock/panel windows.
|
# Avoid drawing shadows on dock/panel windows.
|
||||||
no-dock-shadow = true;
|
no-dock-shadow = true;
|
||||||
# The blur radius for shadows. (default 12)
|
# The blur radius for shadows. (default 12)
|
||||||
shadow-radius = 10;
|
shadow-radius = 4;
|
||||||
# The left offset for shadows. (default -15)
|
# The left offset for shadows. (default -15)
|
||||||
shadow-offset-x = 0;
|
shadow-offset-x = 0;
|
||||||
# The top offset for shadows. (default -15)
|
# The top offset for shadows. (default -15)
|
||||||
shadow-offset-y = 0;
|
shadow-offset-y = 0;
|
||||||
# The translucency for shadows. (default .75)
|
# The translucency for shadows. (default .75)
|
||||||
shadow-opacity = 0.25;
|
shadow-opacity = 0.15;
|
||||||
|
|
||||||
# Set if you want different colour shadows
|
# Set if you want different colour shadows
|
||||||
# shadow-red = 0.0;
|
# shadow-red = 0.0;
|
||||||
|
@ -115,11 +115,10 @@ shadow-ignore-shaped = false;
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
menu-opacity = 1;
|
menu-opacity = 1;
|
||||||
inactive-opacity = 0.9;
|
#inactive-opacity = 0.9;
|
||||||
active-opacity = 1;
|
active-opacity = 1;
|
||||||
frame-opacity = 1;
|
frame-opacity = 1;
|
||||||
inactive-opacity-override = false;
|
inactive-opacity-override = false;
|
||||||
alpha-step = 0.06;
|
|
||||||
|
|
||||||
# Fix tabbed windows
|
# Fix tabbed windows
|
||||||
opacity-rule = [
|
opacity-rule = [
|
||||||
|
@ -136,7 +135,7 @@ opacity-rule = [
|
||||||
# inactive-dim-fixed = true;
|
# inactive-dim-fixed = true;
|
||||||
|
|
||||||
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
|
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
|
||||||
blur-background = true;
|
blur-background = false;
|
||||||
# Blur background of opaque windows with transparent frames as well.
|
# Blur background of opaque windows with transparent frames as well.
|
||||||
# blur-background-frame = true;
|
# blur-background-frame = true;
|
||||||
# Do not let blur radius adjust based on window opacity.
|
# Do not let blur radius adjust based on window opacity.
|
||||||
|
@ -157,11 +156,11 @@ fading = true;
|
||||||
# The time between steps in a fade in milliseconds. (default 10).
|
# The time between steps in a fade in milliseconds. (default 10).
|
||||||
fade-delta = 10;
|
fade-delta = 10;
|
||||||
# Opacity change between steps while fading in. (default 0.028).
|
# Opacity change between steps while fading in. (default 0.028).
|
||||||
fade-in-step = 0.09;
|
fade-in-step = 0.20;
|
||||||
# Opacity change between steps while fading out. (default 0.03).
|
# Opacity change between steps while fading out. (default 0.03).
|
||||||
fade-out-step = 0.06;
|
fade-out-step = 0.05;
|
||||||
# Fade windows in/out when opening/closing
|
# Fade windows in/out when opening/closing
|
||||||
#no-fading-openclose = true;
|
no-fading-openclose = false;
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should not be faded.
|
# Specify a list of conditions of windows that should not be faded.
|
||||||
fade-exclude = [ ];
|
fade-exclude = [ ];
|
||||||
|
@ -204,8 +203,6 @@ vsync = "opengl-swc";
|
||||||
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
|
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
|
||||||
# Reported to have no effect, though.
|
# Reported to have no effect, though.
|
||||||
dbe = false;
|
dbe = false;
|
||||||
# Painting on X Composite overlay window. Recommended.
|
|
||||||
paint-on-overlay = true;
|
|
||||||
|
|
||||||
# Limit compton to repaint at most once every 1 / refresh_rate second to boost performance.
|
# Limit compton to repaint at most once every 1 / refresh_rate second to boost performance.
|
||||||
# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,
|
# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,
|
||||||
|
|
|
@ -3,12 +3,14 @@
|
||||||
|
|
||||||
*.bak
|
*.bak
|
||||||
*~
|
*~
|
||||||
|
.mypy_cache/
|
||||||
|
|
||||||
|
|
||||||
## My designated "out of repo" directory name
|
## My designated "out of repo" things
|
||||||
# Author: Midgard
|
# Author: Midgard
|
||||||
|
|
||||||
xyzzy
|
xyzzy
|
||||||
|
update--.sh
|
||||||
|
|
||||||
|
|
||||||
## Things you just don't want in a Git repo
|
## Things you just don't want in a Git repo
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
# Legacy battery monitor. I'm writing a better one, I should publish it some
|
# Legacy battery monitor. I'm writing a better one, I should publish it some
|
||||||
# time.
|
# time.
|
||||||
|
|
||||||
|
@ -16,8 +18,8 @@ lower_backlight() {
|
||||||
}
|
}
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
now=$(cat /sys/class/power_supply/BAT0/energy_now 2>/dev/null)
|
now=$(cat /sys/class/power_supply/BAT0/charge_now 2>/dev/null)
|
||||||
full=$(cat /sys/class/power_supply/BAT0/energy_full 2>/dev/null)
|
full=$(cat /sys/class/power_supply/BAT0/charge_full 2>/dev/null)
|
||||||
|
|
||||||
if [ ! -z $now ] && [ ! -z $full ]; then
|
if [ ! -z $now ] && [ ! -z $full ]; then
|
||||||
percentage=$(( 100 * now / full ))
|
percentage=$(( 100 * now / full ))
|
||||||
|
|
85
i3/config
85
i3/config
|
@ -27,15 +27,15 @@ mode "resize" {
|
||||||
bindsym Ctrl+k resize shrink height 2 px or 1 ppt
|
bindsym Ctrl+k resize shrink height 2 px or 1 ppt
|
||||||
bindsym Ctrl+l resize grow width 2 px or 1 ppt
|
bindsym Ctrl+l resize grow width 2 px or 1 ppt
|
||||||
|
|
||||||
bindsym h resize shrink width 10 px or 10 ppt
|
bindsym h resize shrink width 10 px or 5 ppt
|
||||||
bindsym j resize grow height 10 px or 10 ppt
|
bindsym j resize grow height 10 px or 5 ppt
|
||||||
bindsym k resize shrink height 10 px or 10 ppt
|
bindsym k resize shrink height 10 px or 5 ppt
|
||||||
bindsym l resize grow width 10 px or 10 ppt
|
bindsym l resize grow width 10 px or 5 ppt
|
||||||
|
|
||||||
bindsym Shift+h resize shrink width 30 px or 30 ppt
|
bindsym Shift+h resize shrink width 30 px or 10 ppt
|
||||||
bindsym Shift+j resize grow height 30 px or 30 ppt
|
bindsym Shift+j resize grow height 30 px or 10 ppt
|
||||||
bindsym Shift+k resize shrink height 30 px or 30 ppt
|
bindsym Shift+k resize shrink height 30 px or 10 ppt
|
||||||
bindsym Shift+l resize grow width 30 px or 30 ppt
|
bindsym Shift+l resize grow width 30 px or 10 ppt
|
||||||
|
|
||||||
# back to normal: Enter, Escape or mod+r
|
# back to normal: Enter, Escape or mod+r
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
|
@ -54,7 +54,7 @@ no_focus [title="IntelliJ"]
|
||||||
|
|
||||||
# gaps when more than one window is open on a workspace
|
# gaps when more than one window is open on a workspace
|
||||||
for_window [class="^.*"] border pixel 0
|
for_window [class="^.*"] border pixel 0
|
||||||
gaps inner 10
|
gaps inner 5
|
||||||
smart_gaps on
|
smart_gaps on
|
||||||
|
|
||||||
|
|
||||||
|
@ -65,8 +65,13 @@ smart_gaps on
|
||||||
# Belgian layout, swap Alt and Super, set caps lock as compose key ♥
|
# Belgian layout, swap Alt and Super, set caps lock as compose key ♥
|
||||||
exec_always --no-startup-id setxkbmap \
|
exec_always --no-startup-id setxkbmap \
|
||||||
-layout be \
|
-layout be \
|
||||||
-option altwin:swap_lalt_lwin \
|
-option compose:caps \
|
||||||
-option compose:caps
|
-option shift:both_capslock \
|
||||||
|
-option altwin:swap_lalt_lwin
|
||||||
|
#-option caps:none \
|
||||||
|
# Mouse acceleration, https://wiki.archlinux.org/title/Mouse_acceleration
|
||||||
|
exec_always --no-startup-id xinput --set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Accel Speed' 0.5
|
||||||
|
exec_always --no-startup-id xinput --set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Tapping Enabled' 1
|
||||||
|
|
||||||
# enable NumLock
|
# enable NumLock
|
||||||
exec_always --no-startup-id numlockx on
|
exec_always --no-startup-id numlockx on
|
||||||
|
@ -75,6 +80,7 @@ exec_always --no-startup-id numlockx on
|
||||||
set $macromode "macro: [l]olol"
|
set $macromode "macro: [l]olol"
|
||||||
mode $macromode {
|
mode $macromode {
|
||||||
bindsym l mode default, exec --no-startup-id "sleep 0.1; for i in $(seq $(( RANDOM % 5 + 3 ))); do xdotool key l o; done; xdotool key l Return"
|
bindsym l mode default, exec --no-startup-id "sleep 0.1; for i in $(seq $(( RANDOM % 5 + 3 ))); do xdotool key l o; done; xdotool key l Return"
|
||||||
|
bindsym d mode default, exec --no-startup-id "sleep 0.1; xdotool type $(d)"
|
||||||
# Define your own cool macros here
|
# Define your own cool macros here
|
||||||
|
|
||||||
# back to normal: Enter, Escape or mod+r
|
# back to normal: Enter, Escape or mod+r
|
||||||
|
@ -92,7 +98,7 @@ bindsym $mod+c mode $macromode
|
||||||
################
|
################
|
||||||
|
|
||||||
# lock the screen
|
# lock the screen
|
||||||
bindsym Mod1+l exec --no-startup-id $HOME/.config/i3/lock.sh
|
bindsym $mod+i exec --no-startup-id $HOME/.config/i3/lock.sh
|
||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return exec $term
|
bindsym $mod+Return exec $term
|
||||||
|
@ -102,7 +108,7 @@ bindsym $mod+w exec $term
|
||||||
bindsym XF86Calculator exec "$termexec -T exec-with-shortcut --dynamic-title-mode=none -x bash -c 'exec-with-shortcut; read'"
|
bindsym XF86Calculator exec "$termexec -T exec-with-shortcut --dynamic-title-mode=none -x bash -c 'exec-with-shortcut; read'"
|
||||||
|
|
||||||
# start web browser
|
# start web browser
|
||||||
set $browser TZ=UTC firefox
|
set $browser TZ=UTC /usr/bin/firejail --name=firefox --profile=/etc/firejail/firefox.profile /usr/lib64/firefox/firefox
|
||||||
bindsym XF86HomePage exec $browser
|
bindsym XF86HomePage exec $browser
|
||||||
|
|
||||||
# open file manager
|
# open file manager
|
||||||
|
@ -111,28 +117,33 @@ bindsym XF86MyComputer exec $filemanager
|
||||||
bindsym XF86Explorer exec $filemanager
|
bindsym XF86Explorer exec $filemanager
|
||||||
|
|
||||||
# open mail client
|
# open mail client
|
||||||
set $mailclient thunderbird
|
#set $mailclient thunderbird
|
||||||
|
set $mailclient $termexec -e alot -C1
|
||||||
bindsym XF86Mail exec $mailclient
|
bindsym XF86Mail exec $mailclient
|
||||||
|
|
||||||
# change display layout
|
# change display layout
|
||||||
bindsym $mod+XF86Display exec arandr
|
bindsym $mod+XF86Display exec arandr
|
||||||
bindsym XF86Display exec --no-startup-id $HOME/.config/i3/monitors.sh
|
bindsym XF86Display exec --no-startup-id $HOME/.config/i3/monitors.sh
|
||||||
|
bindsym Mod1+$mod+XF86Display exec arandr
|
||||||
|
bindsym Mod1+p exec --no-startup-id $HOME/.config/i3/monitors.sh
|
||||||
|
|
||||||
|
# fill password
|
||||||
|
bindsym $mod+p exec $HOME/.local/bin/dpass
|
||||||
|
|
||||||
|
|
||||||
# program launcher
|
# program launcher
|
||||||
set $launcher rofi -show combi -display-combi $USER@$(cat /etc/hostname)
|
set $launcher sh -c 'killall rofi || rofi -show combi -display-combi \\">>>\\"'
|
||||||
#bindsym $mod+space exec --no-startup-id "$launcher"
|
#bindsym $mod+space exec --no-startup-id "$launcher"
|
||||||
bindsym $mod+Shift+space exec --no-startup-id rofi -show window
|
#bindsym $mod+Shift+space exec --no-startup-id rofi -show window
|
||||||
|
|
||||||
set $openmode "open: [f]irefox, [e]mail, [i]rc, [I]DE, [m]pd client, [M]pd server, [t]or, [g]ucharmap, [j]osm, [a]randr, [ ] launcher"
|
set $openmode "open: [f]irefox, [e]mail, [i]rc, [m]pd client, [M]pd server, [t]or, [g]ucharmap, [j]osm, [a]randr, [ ] launcher"
|
||||||
mode $openmode {
|
mode $openmode {
|
||||||
bindsym f exec firefox, mode default
|
bindsym f exec $browser, mode default
|
||||||
bindsym e exec $mailclient, mode default
|
bindsym e exec $mailclient, mode default
|
||||||
bindsym i exec $termexec -e weechat, mode default
|
bindsym i exec $termexec -e weechat, mode default
|
||||||
bindsym shift+i exec idea, mode default
|
|
||||||
bindsym m exec mpdclient, mode default
|
bindsym m exec mpdclient, mode default
|
||||||
bindsym shift+m exec --no-startup-id mpd $HOME/.config/mpd/mpd.conf, mode default
|
#bindsym shift+m exec --no-startup-id mpd $HOME/.config/mpd/mpd.conf, mode default
|
||||||
bindsym t exec "$HOME/.tor-browser-en/INSTALL/Browser/start-tor-browser --detach", mode default
|
bindsym t exec "$HOME/etc/tor-browser_en-US/Browser/start-tor-browser --detach", mode default
|
||||||
bindsym g exec gucharmap, mode default
|
bindsym g exec gucharmap, mode default
|
||||||
bindsym j exec josm, mode default
|
bindsym j exec josm, mode default
|
||||||
bindsym a exec arandr, mode default
|
bindsym a exec arandr, mode default
|
||||||
|
@ -148,6 +159,7 @@ mode $openmode {
|
||||||
}
|
}
|
||||||
|
|
||||||
bindsym $mod+o mode $openmode
|
bindsym $mod+o mode $openmode
|
||||||
|
bindsym $mod+d exec "$launcher"
|
||||||
|
|
||||||
|
|
||||||
set $mpc /usr/bin/mpc
|
set $mpc /usr/bin/mpc
|
||||||
|
@ -159,21 +171,21 @@ mode $mpdmode {
|
||||||
bindsym h exec --no-startup-id $mpc seek -5
|
bindsym h exec --no-startup-id $mpc seek -5
|
||||||
bindsym l exec --no-startup-id $mpc seek +5
|
bindsym l exec --no-startup-id $mpc seek +5
|
||||||
bindsym Backspace exec --no-startup-id $mpc seek 0%
|
bindsym Backspace exec --no-startup-id $mpc seek 0%
|
||||||
bindsym u exec --no-startup-id pamixer -i $volumeStep
|
bindsym u exec --no-startup-id $mpc volume +$volumeStep
|
||||||
bindsym d exec --no-startup-id pamixer -d $volumeStep
|
bindsym d exec --no-startup-id $mpc volume -$volumeStep
|
||||||
bindsym s exec --no-startup-id $mpc stop, mode "default"
|
bindsym s exec --no-startup-id $mpc stop, mode "default"
|
||||||
bindsym Return exec mpdclient, mode "default"
|
bindsym Return exec mpdclient, mode "default"
|
||||||
bindsym KP_Enter exec mpdclient, mode "default"
|
bindsym KP_Enter exec mpdclient, mode "default"
|
||||||
bindsym o exec mpdclient, mode "default"
|
bindsym o exec mpdclient, mode "default"
|
||||||
|
|
||||||
# back to normal: Escape or mod+r
|
# back to normal: Escape or mod+m
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
bindsym $mod+m mode "default"
|
bindsym $mod+m mode "default"
|
||||||
}
|
}
|
||||||
|
|
||||||
bindsym $mod+m mode $mpdmode
|
bindsym $mod+m mode $mpdmode
|
||||||
|
|
||||||
bindsym $mod+space exec --no-startup-id $mpc toggle
|
#bindsym $mod+space exec --no-startup-id $mpc toggle
|
||||||
|
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
|
@ -201,9 +213,12 @@ bindsym XF86MonBrightnessUp exec --no-startup-id $HOME/.config/i3/backlight.
|
||||||
bindsym XF86PowerOff exec sudo shutdown -h now
|
bindsym XF86PowerOff exec sudo shutdown -h now
|
||||||
|
|
||||||
set $scrot scrot '/tmp/screenshot_%Y-%m-%d_%H-%M-%S.png'
|
set $scrot scrot '/tmp/screenshot_%Y-%m-%d_%H-%M-%S.png'
|
||||||
bindsym --release $mod+Print exec --no-startup-id "notify-send -a 'scrot' -t 750 'Select rectangle'; $scrot --select --delay 1"
|
#bindsym --release $mod+Print exec --no-startup-id "notify-send -a 'scrot' -t 750 'Select rectangle'; $scrot --select --delay 1"
|
||||||
bindsym --release $mod+Shift+Print exec --no-startup-id $scrot
|
#bindsym --release $mod+Shift+Print exec --no-startup-id $scrot
|
||||||
bindsym --release $mod+Ctrl+Print exec --no-startup-id "$scrot --select --delay $(echo $'2\n3\n5\n10\n15' | rofi -p 'scrot delay' -dmenu)"
|
#bindsym --release $mod+Ctrl+Print exec --no-startup-id "$scrot --select --delay $(echo $'2\n3\n5\n10\n15' | rofi -p 'scrot delay' -dmenu)"
|
||||||
|
bindsym --release Print exec --no-startup-id "$scrot --select --delay 1"
|
||||||
|
bindsym --release Shift+Print exec --no-startup-id "$scrot"
|
||||||
|
bindsym --release Ctrl+Print exec --no-startup-id "$scrot --select --delay $(echo $'2\n3\n5\n10\n15' | rofi -p 'scrot delay' -dmenu)"
|
||||||
|
|
||||||
|
|
||||||
# Window stuff {{{2
|
# Window stuff {{{2
|
||||||
|
@ -250,10 +265,12 @@ bindsym $mod+z layout tabbed
|
||||||
bindsym $mod+e layout toggle split
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
# toggle tiling / floating
|
# toggle tiling / floating
|
||||||
bindsym $mod+Shift+d floating toggle
|
#bindsym $mod+Shift+d floating toggle
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
# change focus between tiling / floating windows
|
# change focus between tiling / floating windows
|
||||||
bindsym $mod+d focus mode_toggle
|
#bindsym $mod+d focus mode_toggle
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
# focus the parent container
|
# focus the parent container
|
||||||
bindsym $mod+a focus parent
|
bindsym $mod+a focus parent
|
||||||
|
@ -272,7 +289,7 @@ bindsym $mod+Shift+r restart
|
||||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Quit i3?' -b 'Yes' 'i3-msg exit'"
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Quit i3?' -b 'Yes' 'i3-msg exit'"
|
||||||
#bindsym $mod+Shift+e exec "i3-msg exit"
|
#bindsym $mod+Shift+e exec "i3-msg exit"
|
||||||
|
|
||||||
bindsym $mod+p exec "sleep 8; notify-send -u critical -a Tasks \\"Urgent reminder\\" \\"You've got to leave now!\\""
|
#bindsym $mod+p exec "sleep 8; notify-send -u critical -a Tasks \\"Urgent reminder\\" \\"You've got to leave now!\\""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -390,7 +407,7 @@ mode "workspace" {
|
||||||
bindsym Shift+colon move container to workspace number 39 :
|
bindsym Shift+colon move container to workspace number 39 :
|
||||||
bindsym Shift+equal move container to workspace number 40 =
|
bindsym Shift+equal move container to workspace number 40 =
|
||||||
|
|
||||||
# back to normal: Enter, Escape or mod+r
|
# back to normal: Enter, Escape or mod+s
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym KP_Enter mode "default"
|
bindsym KP_Enter mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
|
@ -413,6 +430,7 @@ bindsym $mod+shift+x move workspace to output up
|
||||||
#bar {
|
#bar {
|
||||||
#status_command python /usr/lib/python3.6/site-packages/powerline/bindings/i3/powerline-i3.py
|
#status_command python /usr/lib/python3.6/site-packages/powerline/bindings/i3/powerline-i3.py
|
||||||
#font pango:PowerlineFont 12
|
#font pango:PowerlineFont 12
|
||||||
|
#font pango:Fira Mono 8
|
||||||
|
|
||||||
##status_command i3status
|
##status_command i3status
|
||||||
#position top
|
#position top
|
||||||
|
@ -443,7 +461,8 @@ exec_always --no-startup-id "$HOME/.config/i3/background.sh"
|
||||||
for_window [title="Tor Browser$"] floating enable
|
for_window [title="Tor Browser$"] floating enable
|
||||||
for_window [class="Peek"] floating enable
|
for_window [class="Peek"] floating enable
|
||||||
for_window [instance="^$" class="^Wfica_Seamless$"] floating enable
|
for_window [instance="^$" class="^Wfica_Seamless$"] floating enable
|
||||||
for_window [class="org-openstreetmap-josm-gui-MainApplication" instance="sun-awt-X11-XDialogPeer" title="^Download$|^Mapillary image|^Geotagged Images"] floating disable
|
#for_window [class="org-openstreetmap-josm-gui-MainApplication" instance="sun-awt-X11-XDialogPeer" title="^Download$|^Mapillary image|^Geotagged Images"] floating disable
|
||||||
|
for_window [class="org-openstreetmap-josm-gui-MainApplication" title="^Download$|^Mapillary image|^Geotagged Images"] floating disable
|
||||||
for_window [class="Nextcloud" instance="nextcloud"] floating disable
|
for_window [class="Nextcloud" instance="nextcloud"] floating disable
|
||||||
for_window [class="Xfce4-settings-manager"] floating disable
|
for_window [class="Xfce4-settings-manager"] floating disable
|
||||||
for_window [title="^openBVE$"] floating disable
|
for_window [title="^openBVE$"] floating disable
|
||||||
|
|
25
i3/lock.sh
25
i3/lock.sh
|
@ -2,18 +2,21 @@
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
ssh_agent_file="/run/user/$EUID/ssh-agent-session"
|
#ssh_agent_file="/run/user/$EUID/ssh-agent-session"
|
||||||
if pgrep -u "$USER" ssh-agent > /dev/null && [[ -f "$ssh_agent_file" ]]; then
|
#if pgrep -u "$USER" ssh-agent > /dev/null && [[ -f "$ssh_agent_file" ]]; then
|
||||||
source "$ssh_agent_file"
|
# source "$ssh_agent_file"
|
||||||
if ! ssh-add -D; then
|
# if ! ssh-add -D; then
|
||||||
notify-send -u normal -i lock -a i3 'Failed to clear SSH key cache' 'ssh-add had a non-zero exit code.'
|
# notify-send -u normal -i lock -a i3 'Failed to clear SSH key cache' 'ssh-add had a non-zero exit code.'
|
||||||
fi
|
# fi
|
||||||
else
|
#else
|
||||||
notify-send -u normal -i lock -a i3 'No SSH agent running' 'No running SSH agent detected, so not clearing the key cache.'
|
# notify-send -u normal -i lock -a i3 'No SSH agent running' 'No running SSH agent detected, so not clearing the key cache.'
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
if ! gpg-connect-agent reloadagent /bye; then
|
if ! gpg-connect-agent reloadagent /bye; then
|
||||||
notify-send -u normal -i lock -a i3 'Failed to clear GPG key cache' 'gpg-connect-agent had a non-zero exit code.'
|
:
|
||||||
|
# notify-send -u normal -i lock -a i3 'Failed to clear GPG key cache' 'gpg-connect-agent had a non-zero exit code.'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec i3lock --tiling --lock-console --show-failed-attempts --color=000000 --image="$HOME/img/bg/Red-billed_streamertail_Trochilus_polytmus_female_in_flight_2_lock.png"
|
if ! i3lock --tiling --lock-console --show-failed-attempts --color=000000 --image="$HOME/img/bg/Red-billed_streamertail_Trochilus_polytmus_female_in_flight_2_lock.png"; then
|
||||||
|
exec i3lock
|
||||||
|
fi
|
||||||
|
|
|
@ -78,7 +78,7 @@ toggle_two_screens() {
|
||||||
else
|
else
|
||||||
xrandr \
|
xrandr \
|
||||||
--output "$one" --auto --primary \
|
--output "$one" --auto --primary \
|
||||||
--output "$two" --auto --left-of "$builtin" \
|
--output "$two" --auto --right-of "$builtin" \
|
||||||
--output "$off" --off
|
--output "$off" --off
|
||||||
builtin_on
|
builtin_on
|
||||||
fi
|
fi
|
||||||
|
@ -94,18 +94,18 @@ toggle_three_screens() {
|
||||||
xrandr \
|
xrandr \
|
||||||
--output "$one" --off \
|
--output "$one" --off \
|
||||||
--output "$two" --auto --primary \
|
--output "$two" --auto --primary \
|
||||||
--output "$three" --auto --left-of "$two"
|
--output "$three" --auto --right-of "$two"
|
||||||
builtin_off
|
builtin_off
|
||||||
elif ! actv "$one" && actv "$two" && actv "$three"; then
|
elif ! actv "$one" && actv "$two" && actv "$three"; then
|
||||||
xrandr \
|
xrandr \
|
||||||
--output "$one" --auto --primary \
|
--output "$one" --auto --primary \
|
||||||
--output "$two" --off \
|
--output "$two" --off \
|
||||||
--output "$three" --auto --left-of "$one"
|
--output "$three" --auto --right-of "$one"
|
||||||
builtin_on
|
builtin_on
|
||||||
elif actv "$one" && ! actv "$two" && actv "$three"; then
|
elif actv "$one" && ! actv "$two" && actv "$three"; then
|
||||||
xrandr \
|
xrandr \
|
||||||
--output "$one" --auto --primary \
|
--output "$one" --auto --primary \
|
||||||
--output "$two" --auto --left-of "$one" \
|
--output "$two" --auto --right-of "$one" \
|
||||||
--output "$three" --off
|
--output "$three" --off
|
||||||
builtin_on
|
builtin_on
|
||||||
elif actv "$one" && actv "$two" && ! actv "$three"; then
|
elif actv "$one" && actv "$two" && ! actv "$three"; then
|
||||||
|
@ -129,8 +129,8 @@ toggle_three_screens() {
|
||||||
else
|
else
|
||||||
xrandr \
|
xrandr \
|
||||||
--output "$one" --auto --primary \
|
--output "$one" --auto --primary \
|
||||||
--output "$two" --auto --left-of "$one" \
|
--output "$two" --auto --right-of "$one" \
|
||||||
--output "$three" --auto --left-of "$two"
|
--output "$three" --auto --right-of "$two"
|
||||||
builtin_on
|
builtin_on
|
||||||
fi
|
fi
|
||||||
trigger_change_and_exit
|
trigger_change_and_exit
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/false
|
#!/bin/false
|
||||||
|
|
||||||
builtin="eDP-1"
|
builtin="eDP-1"
|
||||||
ext1="HDMI-1"
|
ext1="HDMI-2"
|
||||||
ext2="VGA-1"
|
ext2="DP-1"
|
||||||
|
|
44
i3/rename.sh
44
i3/rename.sh
|
@ -1,27 +1,47 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cur_ws="$(i3-msg -t get_workspaces | jq '.[] | select(.focused==true)')"
|
set -euo pipefail
|
||||||
|
|
||||||
|
with_number=false
|
||||||
|
if test "${1:-}" = --with-number; then with_number=true; fi
|
||||||
|
|
||||||
|
cur_ws="$(swaymsg -t get_workspaces | jq '.[] | select(.focused==true)')"
|
||||||
cur_ws_number="$(echo "$cur_ws" | jq '.num')"
|
cur_ws_number="$(echo "$cur_ws" | jq '.num')"
|
||||||
|
|
||||||
cur_ws_name="$(echo "$cur_ws" | jq --raw-output '.name')"
|
cur_ws_fullname="$(echo "$cur_ws" | jq --raw-output '.name')"
|
||||||
# Strip workspace number from name
|
# Strip workspace number from name
|
||||||
if [[ $cur_ws_name == [0-9] ]]; then
|
if [[ $cur_ws_fullname == [0-9] ]]; then
|
||||||
cur_ws_name=""
|
cur_ws_name=""
|
||||||
else
|
else
|
||||||
cur_ws_name="${cur_ws_name#[0-9]:}"
|
cur_ws_name="${cur_ws_fullname#-}"
|
||||||
|
cur_ws_name="${cur_ws_fullname#[0-9]:}"
|
||||||
cur_ws_name="${cur_ws_name# }"
|
cur_ws_name="${cur_ws_name# }"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "$with_number" = true; then
|
||||||
|
prompt="rename and renumber workspace $cur_ws_number:"
|
||||||
|
default="$cur_ws_fullname"
|
||||||
|
else
|
||||||
|
prompt="rename workspace $cur_ws_number:"
|
||||||
|
default="$cur_ws_name"
|
||||||
|
fi
|
||||||
|
|
||||||
newname="$(
|
newname="$(
|
||||||
rofi -dmenu \
|
rofi -dmenu -p "$prompt"
|
||||||
-p "rename workspace $cur_ws_number:" ||
|
|
||||||
echo "$cur_ws_name"
|
|
||||||
)"
|
)"
|
||||||
|
|
||||||
|
if test "$with_number" = true; then
|
||||||
|
if test -z "$newname"; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
if test -z "$newname"; then
|
||||||
|
newname="$cur_ws_number"
|
||||||
|
else
|
||||||
|
newname="$cur_ws_number: $newname"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
echo "renaming to \`$newname\`"
|
echo "renaming to \`$newname\`"
|
||||||
|
|
||||||
if [[ -z $newname ]]; then
|
swaymsg "rename workspace to \"${newname//"/\\"}\""
|
||||||
i3-msg "rename workspace to \"$cur_ws_number\""
|
|
||||||
else
|
|
||||||
i3-msg "rename workspace to \"$cur_ws_number: ${newname//"/\\"}\""
|
|
||||||
fi
|
|
||||||
|
|
|
@ -1,11 +1,25 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -uo pipefail
|
||||||
|
# A failure in this script should not prevent the terminal from opening
|
||||||
|
set +e
|
||||||
|
|
||||||
|
#CMD=i3-sensible-terminal
|
||||||
|
CMD=alacritty
|
||||||
|
#CMD=xfce4-terminal
|
||||||
|
|
||||||
# If a window with a path in its title is focused, open a terminal with that
|
# If a window with a path in its title is focused, open a terminal with that
|
||||||
# location as working directory. Like this, terminals are opened in the same
|
# location as working directory. Like this, terminals are opened in the same
|
||||||
# directory as the currently focused one. I modified my oh-my-zsh to always
|
# directory as the currently focused one.
|
||||||
# also print the directory, even when a command is executing.
|
|
||||||
|
|
||||||
if [[ $(xtitle) =~ (in|^.*@.*:)\ (~?)(/.*) ]]; then
|
sway_focused_window() {
|
||||||
|
swaymsg -t get_tree | jq -r '.. | select(.focused?) | .name'
|
||||||
|
}
|
||||||
|
|
||||||
|
title="$(sway_focused_window || xtitle)"
|
||||||
|
path=""
|
||||||
|
|
||||||
|
if [[ $title =~ (in|^.*@$(hostname):)(~?)(/.*) ]]; then
|
||||||
path="${BASH_REMATCH[3]}"
|
path="${BASH_REMATCH[3]}"
|
||||||
[[ ${BASH_REMATCH[2]} == "~" ]] && path="$HOME$path"
|
[[ ${BASH_REMATCH[2]} == "~" ]] && path="$HOME$path"
|
||||||
|
|
||||||
|
@ -15,9 +29,8 @@ if [[ $(xtitle) =~ (in|^.*@.*:)\ (~?)(/.*) ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Open terminal at specified path
|
# Open terminal at specified path
|
||||||
cmd=i3-sensible-terminal
|
if [[ -n $path ]] && [[ -r $path ]]; then
|
||||||
if [[ -n $path ]]; then
|
exec env -C "$path" $CMD "$@"
|
||||||
exec env -C "$path" $cmd "$@"
|
|
||||||
else
|
else
|
||||||
exec $cmd "$@"
|
exec $CMD "$@"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -411,8 +411,8 @@ def_key "ctrl-left"
|
||||||
#def_key "e"
|
#def_key "e"
|
||||||
# edit_song
|
# edit_song
|
||||||
#
|
#
|
||||||
def_key "e"
|
#def_key "e"
|
||||||
dummy
|
# dummy
|
||||||
# edit_library_tag
|
# edit_library_tag
|
||||||
#
|
#
|
||||||
#def_key "e"
|
#def_key "e"
|
||||||
|
@ -424,9 +424,9 @@ def_key "e"
|
||||||
#def_key "e"
|
#def_key "e"
|
||||||
# edit_playlist_name
|
# edit_playlist_name
|
||||||
#
|
#
|
||||||
#def_key "e"
|
def_key "e"
|
||||||
# edit_lyrics
|
edit_lyrics
|
||||||
#
|
|
||||||
#def_key "i"
|
#def_key "i"
|
||||||
# show_song_info
|
# show_song_info
|
||||||
#
|
#
|
||||||
|
@ -442,8 +442,8 @@ def_key "L"
|
||||||
def_key "V"
|
def_key "V"
|
||||||
select_range
|
select_range
|
||||||
#
|
#
|
||||||
def_key "i"
|
#def_key "i"
|
||||||
reverse_selection
|
# reverse_selection
|
||||||
#
|
#
|
||||||
def_key "escape"
|
def_key "escape"
|
||||||
remove_selection
|
remove_selection
|
||||||
|
|
|
@ -32,10 +32,10 @@ mpd_music_dir = ~/mus
|
||||||
#
|
#
|
||||||
##### music visualizer #####
|
##### music visualizer #####
|
||||||
##
|
##
|
||||||
## Note: In order to make music visualizer work you'll need to use mpd fifo
|
## In order to make music visualizer work with MPD you need to use the fifo
|
||||||
## output, whose format parameter has to be set to 44100:16:1 for mono
|
## output. Its format parameter has to be set to 44100:16:1 for mono
|
||||||
## visualization or 44100:16:2 for stereo visualization. Example configuration
|
## visualization or 44100:16:2 for stereo visualization. As an example here is
|
||||||
## (it has to be put into mpd.conf):
|
## the relevant section for mpd.conf:
|
||||||
##
|
##
|
||||||
## audio_output {
|
## audio_output {
|
||||||
## type "fifo"
|
## type "fifo"
|
||||||
|
@ -44,8 +44,23 @@ mpd_music_dir = ~/mus
|
||||||
## format "44100:16:2"
|
## format "44100:16:2"
|
||||||
## }
|
## }
|
||||||
##
|
##
|
||||||
|
## If the visualization on occasion diverges from the audio output, please set
|
||||||
|
## 'buffer_time' parameter of your audio output in mpd.conf to '100000' (100ms)
|
||||||
|
## or less to prevent that from happening.
|
||||||
|
##
|
||||||
|
## Note: If you're using Mopidy, an address of a udpsink gstreamer's output is
|
||||||
|
## also accepted. For example, the following section in mopidy.conf:
|
||||||
|
##
|
||||||
|
## [audio]
|
||||||
|
## output = tee name=t ! queue ! autoaudiosink t.
|
||||||
|
## ! queue ! audio/x-raw,rate=44100,channels=2,format=S16LE
|
||||||
|
## ! udpsink host=localhost port=5555
|
||||||
|
##
|
||||||
|
## will make localhost:5555 available as a source of data for the stereo
|
||||||
|
## visualizer.
|
||||||
|
##
|
||||||
#
|
#
|
||||||
visualizer_fifo_path = /tmp/mpd.fifo
|
visualizer_data_source = /tmp/mpd.fifo
|
||||||
#
|
#
|
||||||
##
|
##
|
||||||
## Note: Below parameter is needed for ncmpcpp to determine which output
|
## Note: Below parameter is needed for ncmpcpp to determine which output
|
||||||
|
@ -53,7 +68,7 @@ visualizer_fifo_path = /tmp/mpd.fifo
|
||||||
## sound as currently there are some problems with it.
|
## sound as currently there are some problems with it.
|
||||||
##
|
##
|
||||||
#
|
#
|
||||||
visualizer_output_name = my_fifo
|
visualizer_output_name = fifo
|
||||||
#
|
#
|
||||||
##
|
##
|
||||||
## If you set format to 44100:16:2, make it 'yes'.
|
## If you set format to 44100:16:2, make it 'yes'.
|
||||||
|
@ -61,13 +76,16 @@ visualizer_output_name = my_fifo
|
||||||
visualizer_in_stereo = yes
|
visualizer_in_stereo = yes
|
||||||
#
|
#
|
||||||
##
|
##
|
||||||
## Note: Below parameter defines how often ncmpcpp has to "synchronize"
|
## Note: set below to >=10 only if you have synchronization issues with
|
||||||
|
## visualization and audio.
|
||||||
|
##
|
||||||
|
## Old text: Below parameter defines how often ncmpcpp has to "synchronize"
|
||||||
## visualizer and audio outputs. 30 seconds is optimal value, but if you
|
## visualizer and audio outputs. 30 seconds is optimal value, but if you
|
||||||
## experience synchronization problems, set it to lower value. Keep in mind
|
## experience synchronization problems, set it to lower value. Keep in mind
|
||||||
## that sane values start with >=10.
|
## that sane values start with >=10.
|
||||||
##
|
##
|
||||||
#
|
#
|
||||||
#visualizer_sync_interval = 15
|
#visualizer_sync_interval = 0
|
||||||
#
|
#
|
||||||
##
|
##
|
||||||
## Note: To enable spectrum frequency visualization you need to compile ncmpcpp
|
## Note: To enable spectrum frequency visualization you need to compile ncmpcpp
|
||||||
|
@ -77,9 +95,14 @@ visualizer_in_stereo = yes
|
||||||
## Available values: spectrum, wave, wave_filled, ellipse.
|
## Available values: spectrum, wave, wave_filled, ellipse.
|
||||||
##
|
##
|
||||||
visualizer_type = spectrum
|
visualizer_type = spectrum
|
||||||
|
|
||||||
|
|
||||||
|
# default: visualizer_fps = 60
|
||||||
|
visualizer_fps = 30
|
||||||
#
|
#
|
||||||
#default: visualizer_look = ●▮
|
#default: visualizer_look = ●▮
|
||||||
visualizer_look = ╸─
|
visualizer_look = ╸─
|
||||||
|
#visualizer_look = ╸▎
|
||||||
#
|
#
|
||||||
#visualizer_color = blue, cyan, green, yellow, magenta, red
|
#visualizer_color = blue, cyan, green, yellow, magenta, red
|
||||||
#
|
#
|
||||||
|
@ -87,6 +110,29 @@ visualizer_look = ╸─
|
||||||
##
|
##
|
||||||
#visualizer_color = 41, 83, 119, 155, 185, 215, 209, 203, 197, 161
|
#visualizer_color = 41, 83, 119, 155, 185, 215, 209, 203, 197, 161
|
||||||
visualizer_color = 144
|
visualizer_color = 144
|
||||||
|
|
||||||
|
## Use unicode block characters for a smoother, more continuous look.
|
||||||
|
## This will override the visualizer_look option. With transparent terminals
|
||||||
|
## and visualizer_in_stereo set, artifacts may be visible on the bottom half of
|
||||||
|
## the visualization.
|
||||||
|
#
|
||||||
|
visualizer_spectrum_smooth_look = yes
|
||||||
|
|
||||||
|
## A value between 1 and 5 inclusive. Specifying a larger value makes the
|
||||||
|
## visualizer look at a larger slice of time, which results in less jumpy
|
||||||
|
## visualizer output.
|
||||||
|
#
|
||||||
|
#visualizer_spectrum_dft_size = 2
|
||||||
|
#
|
||||||
|
#visualizer_spectrum_gain = 10
|
||||||
|
#
|
||||||
|
## Left-most frequency of visualizer in Hz, must be less than HZ MAX
|
||||||
|
#
|
||||||
|
visualizer_spectrum_hz_min = 20
|
||||||
|
#
|
||||||
|
## Right-most frequency of visualizer in Hz, must be greater than HZ MIN
|
||||||
|
#
|
||||||
|
visualizer_spectrum_hz_max = 18000
|
||||||
#
|
#
|
||||||
##### system encoding #####
|
##### system encoding #####
|
||||||
##
|
##
|
||||||
|
@ -193,7 +239,10 @@ alternative_header_first_line_format = $1$aqqu$/a$9 $b{{%t}|{%f}}$/b$(243){ (%y)
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#alternative_header_second_line_format = {{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}
|
#alternative_header_second_line_format = {{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}
|
||||||
|
# dark
|
||||||
alternative_header_second_line_format = {{{$7%b$9 $3#{%d/}%n$9}|{from $7%b$9}} {by $4%a$9}}|{%D}
|
alternative_header_second_line_format = {{{$7%b$9 $3#{%d/}%n$9}|{from $7%b$9}} {by $4%a$9}}|{%D}
|
||||||
|
# light
|
||||||
|
#alternative_header_second_line_format = {{{$7%b$9 $3#{%d/}%n$9}|{from $7%b$9}} {by $(95)%a$9}}|{%D}
|
||||||
#
|
#
|
||||||
#current_item_prefix = $(yellow)$r
|
#current_item_prefix = $(yellow)$r
|
||||||
#
|
#
|
||||||
|
@ -268,7 +317,10 @@ selected_item_suffix = ]$9
|
||||||
##
|
##
|
||||||
#
|
#
|
||||||
#song_columns_list_format = (20)[]{a} (6f)[green]{NE} (50)[white]{t|f:Title} (20)[cyan]{b} (7f)[magenta]{l}
|
#song_columns_list_format = (20)[]{a} (6f)[green]{NE} (50)[white]{t|f:Title} (20)[cyan]{b} (7f)[magenta]{l}
|
||||||
|
# dark
|
||||||
song_columns_list_format = (20)[cyan]{brE} (5f)[green]{NE} (20)[yellow]{arE} (1)[]{} (7f)[magenta]{lr} (2)[white]{} (40)[white]{t|f:Title}
|
song_columns_list_format = (20)[cyan]{brE} (5f)[green]{NE} (20)[yellow]{arE} (1)[]{} (7f)[magenta]{lr} (2)[white]{} (40)[white]{t|f:Title}
|
||||||
|
# light
|
||||||
|
#song_columns_list_format = (20)[cyan]{brE} (5f)[green]{NE} (20)[95]{arE} (1)[]{} (7f)[magenta]{lr} (2)[black]{} (40)[black]{t|f:Title}
|
||||||
#
|
#
|
||||||
##### various settings #####
|
##### various settings #####
|
||||||
#
|
#
|
||||||
|
@ -367,6 +419,7 @@ header_visibility = no
|
||||||
titles_visibility = no
|
titles_visibility = no
|
||||||
#
|
#
|
||||||
#header_text_scrolling = yes
|
#header_text_scrolling = yes
|
||||||
|
header_text_scrolling = no
|
||||||
#
|
#
|
||||||
#cyclic_scrolling = no
|
#cyclic_scrolling = no
|
||||||
#
|
#
|
||||||
|
@ -545,16 +598,25 @@ external_editor = vi
|
||||||
#state_flags_color = default:b
|
#state_flags_color = default:b
|
||||||
#
|
#
|
||||||
#main_window_color = yellow
|
#main_window_color = yellow
|
||||||
|
# dark
|
||||||
main_window_color = white
|
main_window_color = white
|
||||||
|
# light
|
||||||
|
#main_window_color = black
|
||||||
#
|
#
|
||||||
#color1 = white
|
#color1 = white
|
||||||
#
|
#
|
||||||
#color2 = green
|
#color2 = green
|
||||||
#
|
#
|
||||||
#progressbar_color = black:b
|
# dark
|
||||||
|
progressbar_color = black:b
|
||||||
|
# light
|
||||||
|
#progressbar_color = 255:b
|
||||||
#
|
#
|
||||||
#progressbar_elapsed_color = green:b
|
#progressbar_elapsed_color = green:b
|
||||||
|
# dark
|
||||||
progressbar_elapsed_color = white
|
progressbar_elapsed_color = white
|
||||||
|
# light
|
||||||
|
#progressbar_elapsed_color = black
|
||||||
#
|
#
|
||||||
#statusbar_color = default
|
#statusbar_color = default
|
||||||
#
|
#
|
||||||
|
|
|
@ -63,14 +63,14 @@ rofi.levenshtein-sort: true
|
||||||
! "Parse known_hosts file for ssh mode" Set from: Default
|
! "Parse known_hosts file for ssh mode" Set from: Default
|
||||||
! rofi.parse-known-hosts: true
|
! rofi.parse-known-hosts: true
|
||||||
! "Set the modi to combine in combi mode" Set from: Commandline
|
! "Set the modi to combine in combi mode" Set from: Commandline
|
||||||
rofi.combi-modi: drun,window,ssh,run
|
rofi.combi-modi: drun,window,run
|
||||||
! "Set the matching algorithm. (normal, regex, glob, fuzzy)" Set from: Commandline
|
! "Set the matching algorithm. (normal, regex, glob, fuzzy)" Set from: Commandline
|
||||||
rofi.matching: glob
|
rofi.matching: glob
|
||||||
! "Tokenize input string" Set from: Default
|
! "Tokenize input string" Set from: Default
|
||||||
! rofi.tokenize: true
|
! rofi.tokenize: true
|
||||||
! "Monitor id to show on" Set from: Default
|
! "Monitor id to show on" Set from: Default
|
||||||
! rofi.m: -5
|
rofi.m: -5
|
||||||
rofi.m: primary
|
!rofi.m: primary
|
||||||
! "Margin between rows *DEPRECATED*" Set from: Default
|
! "Margin between rows *DEPRECATED*" Set from: Default
|
||||||
! rofi.line-margin: 2
|
! rofi.line-margin: 2
|
||||||
! "Padding within rows *DEPRECATED*" Set from: Default
|
! "Padding within rows *DEPRECATED*" Set from: Default
|
||||||
|
@ -129,6 +129,7 @@ rofi.theme: ~/.config/rofi/midgard.rasi
|
||||||
! rofi.display-drun:
|
! rofi.display-drun:
|
||||||
! "The display name of this browser" Set from: Commandline
|
! "The display name of this browser" Set from: Commandline
|
||||||
! rofi.display-combi: $USER@$HOST
|
! rofi.display-combi: $USER@$HOST
|
||||||
|
rofi.display-combi: >>>
|
||||||
! "The display name of this browser" Set from: Default
|
! "The display name of this browser" Set from: Default
|
||||||
! rofi.display-keys:
|
! rofi.display-keys:
|
||||||
! "Paste primary selection" Set from: Default
|
! "Paste primary selection" Set from: Default
|
||||||
|
|
|
@ -15,7 +15,8 @@
|
||||||
|
|
||||||
foreground: rgba(193, 193, 193, 100%);
|
foreground: rgba(193, 193, 193, 100%);
|
||||||
alt-foreground: rgba(193, 193, 193, 50%);
|
alt-foreground: rgba(193, 193, 193, 50%);
|
||||||
highlighted-background: rgba( 85, 54, 31, 50%);
|
/*highlighted-background: rgba( 85, 54, 31, 50%);*/
|
||||||
|
highlighted-background: rgba(132, 107, 146, 50%);
|
||||||
|
|
||||||
scrollbar-background: transparent;
|
scrollbar-background: transparent;
|
||||||
scrollbar-handle: @alt-foreground;
|
scrollbar-handle: @alt-foreground;
|
||||||
|
@ -25,23 +26,23 @@
|
||||||
|
|
||||||
#window {
|
#window {
|
||||||
border: none;
|
border: none;
|
||||||
width: 100%;
|
/*width: 100%;*/
|
||||||
height: 100%;
|
height: 50%;
|
||||||
location: north;
|
location: south;
|
||||||
anchor: north;
|
anchor: south;
|
||||||
children: [mainbox, dummy];
|
children: [mainbox];
|
||||||
background-color: rgba(0,0,0,0.5);
|
background-color: rgba(0,0,0,0.7);
|
||||||
font: "Fira Code Light 14";
|
font: "Fira Code Light 14";
|
||||||
}
|
}
|
||||||
|
|
||||||
#dummy {
|
#dummy {
|
||||||
expand: true;
|
/*expand: true;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
#mainbox {
|
#mainbox {
|
||||||
expand: false;
|
expand: true;
|
||||||
padding: 0px 0px 6px;
|
padding: 0px 0px 6px;
|
||||||
margin: 0 25%;
|
/*margin: 0 25%;*/
|
||||||
background-color: rgba(0,0,0,0.6);
|
background-color: rgba(0,0,0,0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue