Compare commits
25 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
48fb5ab2fe | |
|
|
6f44baa34b | |
|
|
90c1523965 | |
|
|
32247d59a2 | |
|
|
ecb14b548e | |
|
|
3ff9631193 | |
|
|
feae8816a3 | |
|
|
a3f2439b96 | |
|
|
5044575b41 | |
|
|
3d722ad787 | |
|
|
28b8728c0f | |
|
|
7d7faddf4d | |
|
|
77210a41ae | |
|
|
31eb6f0171 | |
|
|
f835448ed5 | |
|
|
221967f368 | |
|
|
32b1abc39f | |
|
|
e6a46d699b | |
|
|
70249a2a89 | |
|
|
ce2ccda875 | |
|
|
b80f98e7fe | |
|
|
1b1f064cee | |
|
|
7cbc575dbd | |
|
|
b8c1f0f4eb | |
|
|
3718ac5eb3 |
|
|
@ -5,30 +5,81 @@ TERM = "xterm-256color"
|
||||||
[colors]
|
[colors]
|
||||||
draw_bold_text_with_bright_colors = true
|
draw_bold_text_with_bright_colors = true
|
||||||
|
|
||||||
[colors.bright]
|
|
||||||
black = "#7f7f7f"
|
|
||||||
blue = "#5c5cff"
|
|
||||||
cyan = "#00ffff"
|
|
||||||
green = "#00ff00"
|
|
||||||
magenta = "#ff00ff"
|
|
||||||
red = "#ff0000"
|
|
||||||
white = "#ffffff"
|
|
||||||
yellow = "#ffff00"
|
|
||||||
|
|
||||||
[colors.normal]
|
|
||||||
black = "#000000"
|
|
||||||
blue = "#0000ee"
|
|
||||||
cyan = "#00cdcd"
|
|
||||||
green = "#00cd00"
|
|
||||||
magenta = "#cd00cd"
|
|
||||||
red = "#cd0000"
|
|
||||||
white = "#e5e5e5"
|
|
||||||
yellow = "#cdcd00"
|
|
||||||
|
|
||||||
[colors.primary]
|
[colors.primary]
|
||||||
background = "#000000"
|
background = '#1E1E2E' # base
|
||||||
foreground = "#E5E5E5"
|
foreground = '#CDD6F4' # text
|
||||||
|
# Bright and dim foreground colors
|
||||||
|
dim_foreground = '#CDD6F4' # text
|
||||||
|
bright_foreground = '#CDD6F4' # text
|
||||||
|
|
||||||
|
# Cursor colors
|
||||||
|
[colors.cursor]
|
||||||
|
text = '#1E1E2E' # base
|
||||||
|
cursor = '#F5E0DC' # rosewater
|
||||||
|
|
||||||
|
[colors.vi_mode_cursor]
|
||||||
|
text = '#1E1E2E' # base
|
||||||
|
cursor = '#B4BEFE' # lavender
|
||||||
|
|
||||||
|
# Search colors
|
||||||
|
[colors.search.matches]
|
||||||
|
foreground = '#1E1E2E' # base
|
||||||
|
background = '#A6ADC8' # subtext0
|
||||||
|
|
||||||
|
[colors.search.focused_match]
|
||||||
|
foreground = '#1E1E2E' # base
|
||||||
|
background = '#A6E3A1' # green
|
||||||
|
|
||||||
|
[colors.footer_bar]
|
||||||
|
foreground = '#1E1E2E' # base
|
||||||
|
background = '#A6ADC8' # subtext0
|
||||||
|
|
||||||
|
# Keyboard regex hints
|
||||||
|
[colors.hints.start]
|
||||||
|
foreground = '#1E1E2E' # base
|
||||||
|
background = '#F9E2AF' # yellow
|
||||||
|
|
||||||
|
[colors.hints.end]
|
||||||
|
foreground = '#1E1E2E' # base
|
||||||
|
background = '#A6ADC8' # subtext0
|
||||||
|
|
||||||
|
# Selection colors
|
||||||
|
[colors.selection]
|
||||||
|
text = '#1E1E2E' # base
|
||||||
|
background = '#F5E0DC' # rosewater
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
[colors.normal]
|
||||||
|
black = '#45475A' # surface1
|
||||||
|
red = '#F38BA8' # red
|
||||||
|
green = '#A6E3A1' # green
|
||||||
|
yellow = '#F9E2AF' # yellow
|
||||||
|
blue = '#89B4FA' # blue
|
||||||
|
magenta = '#F5C2E7' # pink
|
||||||
|
cyan = '#94E2D5' # teal
|
||||||
|
white = '#BAC2DE' # subtext1
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
[colors.bright]
|
||||||
|
black = '#585B70' # surface2
|
||||||
|
red = '#F38BA8' # red
|
||||||
|
green = '#A6E3A1' # green
|
||||||
|
yellow = '#F9E2AF' # yellow
|
||||||
|
blue = '#89B4FA' # blue
|
||||||
|
magenta = '#F5C2E7' # pink
|
||||||
|
cyan = '#94E2D5' # teal
|
||||||
|
white = '#A6ADC8' # subtext0
|
||||||
|
|
||||||
|
# Dim colors
|
||||||
|
[colors.dim]
|
||||||
|
black = '#45475A' # surface1
|
||||||
|
red = '#F38BA8' # red
|
||||||
|
green = '#A6E3A1' # green
|
||||||
|
yellow = '#F9E2AF' # yellow
|
||||||
|
blue = '#89B4FA' # blue
|
||||||
|
magenta = '#F5C2E7' # pink
|
||||||
|
cyan = '#94E2D5' # teal
|
||||||
|
white = '#BAC2DE' # subtext1
|
||||||
[cursor]
|
[cursor]
|
||||||
style = "Block"
|
style = "Block"
|
||||||
unfocused_hollow = true
|
unfocused_hollow = true
|
||||||
|
|
@ -38,10 +89,10 @@ persistent_logging = false
|
||||||
render_timer = false
|
render_timer = false
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
size = 7.5
|
size = 12
|
||||||
|
|
||||||
[font.bold]
|
[font.bold]
|
||||||
family = "JetBrainsMono Nerd Font"
|
family = "Fira Code"
|
||||||
style = "Bold"
|
style = "Bold"
|
||||||
|
|
||||||
[font.glyph_offset]
|
[font.glyph_offset]
|
||||||
|
|
@ -49,11 +100,11 @@ x = 0
|
||||||
y = 0
|
y = 0
|
||||||
|
|
||||||
[font.italic]
|
[font.italic]
|
||||||
family = "JetBrainsMono Nerd Font"
|
family = "Fira Code"
|
||||||
style = "Italic"
|
style = "Italic"
|
||||||
|
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "JetBrainsMono Nerd Font"
|
family = "Fira Code"
|
||||||
style = "Regular"
|
style = "Regular"
|
||||||
|
|
||||||
[font.offset]
|
[font.offset]
|
||||||
|
|
@ -78,11 +129,6 @@ key = "Paste"
|
||||||
action = "Copy"
|
action = "Copy"
|
||||||
key = "Copy"
|
key = "Copy"
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Quit"
|
|
||||||
key = "Q"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
[[keyboard.bindings]]
|
||||||
action = "Quit"
|
action = "Quit"
|
||||||
key = "W"
|
key = "W"
|
||||||
|
|
@ -604,7 +650,7 @@ semantic_escape_chars = ",│`|:\"' ()[]{}<>"
|
||||||
[window]
|
[window]
|
||||||
decorations = "none"
|
decorations = "none"
|
||||||
dynamic_padding = false
|
dynamic_padding = false
|
||||||
opacity = 0.8
|
opacity = 0.9
|
||||||
startup_mode = "Maximized"
|
startup_mode = "Maximized"
|
||||||
|
|
||||||
[window.dimensions]
|
[window.dimensions]
|
||||||
|
|
@ -612,8 +658,8 @@ columns = 0
|
||||||
lines = 0
|
lines = 0
|
||||||
|
|
||||||
[window.padding]
|
[window.padding]
|
||||||
x = 0
|
x = 5
|
||||||
y = 0
|
y = 5
|
||||||
|
|
||||||
[general]
|
[general]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,617 +0,0 @@
|
||||||
[env]
|
|
||||||
TERM = "xterm-256color"
|
|
||||||
|
|
||||||
[colors]
|
|
||||||
draw_bold_text_with_bright_colors = true
|
|
||||||
|
|
||||||
[colors.bright]
|
|
||||||
black = "#444b6a"
|
|
||||||
blue = "#7da6ff"
|
|
||||||
cyan = "#0db9d7"
|
|
||||||
green = "#b9f27c"
|
|
||||||
magenta = "#bb9af7"
|
|
||||||
red = "#ff7a93"
|
|
||||||
white = "#acb0d0"
|
|
||||||
yellow = "#ff9e64"
|
|
||||||
|
|
||||||
[colors.normal]
|
|
||||||
black = "#32344a"
|
|
||||||
blue = "#7aa2f7"
|
|
||||||
cyan = "#449dab"
|
|
||||||
green = "#9ece6a"
|
|
||||||
magenta = "#ad8ee6"
|
|
||||||
red = "#f7768e"
|
|
||||||
white = "#787c99"
|
|
||||||
yellow = "#e0af68"
|
|
||||||
|
|
||||||
[colors.primary]
|
|
||||||
background = "#1a1b26"
|
|
||||||
foreground = "#a9b1d6"
|
|
||||||
|
|
||||||
[cursor]
|
|
||||||
style = "Block"
|
|
||||||
unfocused_hollow = true
|
|
||||||
|
|
||||||
[debug]
|
|
||||||
persistent_logging = false
|
|
||||||
render_timer = false
|
|
||||||
|
|
||||||
[font]
|
|
||||||
size = 11
|
|
||||||
|
|
||||||
[font.bold]
|
|
||||||
family = "JetBrainsMono Nerd Font"
|
|
||||||
style = "Bold"
|
|
||||||
|
|
||||||
[font.glyph_offset]
|
|
||||||
x = 0
|
|
||||||
y = 0
|
|
||||||
|
|
||||||
[font.italic]
|
|
||||||
family = "JetBrainsMono Nerd Font"
|
|
||||||
style = "Italic"
|
|
||||||
|
|
||||||
[font.normal]
|
|
||||||
family = "JetBrainsMono Nerd Font"
|
|
||||||
style = "Regular"
|
|
||||||
|
|
||||||
[font.offset]
|
|
||||||
x = 0
|
|
||||||
y = 0
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Paste"
|
|
||||||
key = "V"
|
|
||||||
mods = "Control|Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Copy"
|
|
||||||
key = "C"
|
|
||||||
mods = "Control|Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Paste"
|
|
||||||
key = "Paste"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Copy"
|
|
||||||
key = "Copy"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Quit"
|
|
||||||
key = "Q"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Quit"
|
|
||||||
key = "W"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "PasteSelection"
|
|
||||||
key = "Insert"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "ResetFontSize"
|
|
||||||
key = "Key0"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "IncreaseFontSize"
|
|
||||||
key = "Equals"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "DecreaseFontSize"
|
|
||||||
key = "NumpadSubtract"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "DecreaseFontSize"
|
|
||||||
key = "Minus"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "ClearLogNotice"
|
|
||||||
key = "L"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\f"
|
|
||||||
key = "L"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOH"
|
|
||||||
key = "Home"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[H"
|
|
||||||
key = "Home"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOF"
|
|
||||||
key = "End"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[F"
|
|
||||||
key = "End"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[5;2~"
|
|
||||||
key = "PageUp"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[5;5~"
|
|
||||||
key = "PageUp"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[5~"
|
|
||||||
key = "PageUp"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[6;2~"
|
|
||||||
key = "PageDown"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[6;5~"
|
|
||||||
key = "PageDown"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[6~"
|
|
||||||
key = "PageDown"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[Z"
|
|
||||||
key = "Tab"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u007F"
|
|
||||||
key = "Back"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B\u007F"
|
|
||||||
key = "Back"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[2~"
|
|
||||||
key = "Insert"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[3~"
|
|
||||||
key = "Delete"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2D"
|
|
||||||
key = "Left"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5D"
|
|
||||||
key = "Left"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3D"
|
|
||||||
key = "Left"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[D"
|
|
||||||
key = "Left"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOD"
|
|
||||||
key = "Left"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2C"
|
|
||||||
key = "Right"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5C"
|
|
||||||
key = "Right"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3C"
|
|
||||||
key = "Right"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[C"
|
|
||||||
key = "Right"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOC"
|
|
||||||
key = "Right"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2A"
|
|
||||||
key = "Up"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5A"
|
|
||||||
key = "Up"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3A"
|
|
||||||
key = "Up"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[A"
|
|
||||||
key = "Up"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOA"
|
|
||||||
key = "Up"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2B"
|
|
||||||
key = "Down"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5B"
|
|
||||||
key = "Down"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3B"
|
|
||||||
key = "Down"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[B"
|
|
||||||
key = "Down"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOB"
|
|
||||||
key = "Down"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOP"
|
|
||||||
key = "F1"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOQ"
|
|
||||||
key = "F2"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOR"
|
|
||||||
key = "F3"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOS"
|
|
||||||
key = "F4"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[15~"
|
|
||||||
key = "F5"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[17~"
|
|
||||||
key = "F6"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[18~"
|
|
||||||
key = "F7"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[19~"
|
|
||||||
key = "F8"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[20~"
|
|
||||||
key = "F9"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[21~"
|
|
||||||
key = "F10"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[23~"
|
|
||||||
key = "F11"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[24~"
|
|
||||||
key = "F12"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2P"
|
|
||||||
key = "F1"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2Q"
|
|
||||||
key = "F2"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2R"
|
|
||||||
key = "F3"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2S"
|
|
||||||
key = "F4"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[15;2~"
|
|
||||||
key = "F5"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[17;2~"
|
|
||||||
key = "F6"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[18;2~"
|
|
||||||
key = "F7"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[19;2~"
|
|
||||||
key = "F8"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[20;2~"
|
|
||||||
key = "F9"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[21;2~"
|
|
||||||
key = "F10"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[23;2~"
|
|
||||||
key = "F11"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[24;2~"
|
|
||||||
key = "F12"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5P"
|
|
||||||
key = "F1"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5Q"
|
|
||||||
key = "F2"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5R"
|
|
||||||
key = "F3"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5S"
|
|
||||||
key = "F4"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[15;5~"
|
|
||||||
key = "F5"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[17;5~"
|
|
||||||
key = "F6"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[18;5~"
|
|
||||||
key = "F7"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[19;5~"
|
|
||||||
key = "F8"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[20;5~"
|
|
||||||
key = "F9"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[21;5~"
|
|
||||||
key = "F10"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[23;5~"
|
|
||||||
key = "F11"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[24;5~"
|
|
||||||
key = "F12"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;6P"
|
|
||||||
key = "F1"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;6Q"
|
|
||||||
key = "F2"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;6R"
|
|
||||||
key = "F3"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;6S"
|
|
||||||
key = "F4"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[15;6~"
|
|
||||||
key = "F5"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[17;6~"
|
|
||||||
key = "F6"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[18;6~"
|
|
||||||
key = "F7"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[19;6~"
|
|
||||||
key = "F8"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[20;6~"
|
|
||||||
key = "F9"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[21;6~"
|
|
||||||
key = "F10"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[23;6~"
|
|
||||||
key = "F11"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[24;6~"
|
|
||||||
key = "F12"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3P"
|
|
||||||
key = "F1"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3Q"
|
|
||||||
key = "F2"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3R"
|
|
||||||
key = "F3"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3S"
|
|
||||||
key = "F4"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[15;3~"
|
|
||||||
key = "F5"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[17;3~"
|
|
||||||
key = "F6"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[18;3~"
|
|
||||||
key = "F7"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[19;3~"
|
|
||||||
key = "F8"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[20;3~"
|
|
||||||
key = "F9"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[21;3~"
|
|
||||||
key = "F10"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[23;3~"
|
|
||||||
key = "F11"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
# [mouse]
|
|
||||||
# hide_when_typing = false
|
|
||||||
#
|
|
||||||
# [[mouse.bindings]]
|
|
||||||
# action = "PasteSelection"
|
|
||||||
# mouse = "Middle"
|
|
||||||
#
|
|
||||||
# [mouse.double_click]
|
|
||||||
# threshold = 300
|
|
||||||
#
|
|
||||||
# [mouse.hints]
|
|
||||||
# launcher = "xdg-open"
|
|
||||||
# modifiers = "Control"
|
|
||||||
#
|
|
||||||
# [mouse.triple_click]
|
|
||||||
# threshold = 300
|
|
||||||
#
|
|
||||||
[scrolling]
|
|
||||||
history = 100000
|
|
||||||
multiplier = 3
|
|
||||||
|
|
||||||
[selection]
|
|
||||||
save_to_clipboard = false
|
|
||||||
semantic_escape_chars = ",│`|:\"' ()[]{}<>"
|
|
||||||
|
|
||||||
[window]
|
|
||||||
decorations = "none"
|
|
||||||
dynamic_padding = false
|
|
||||||
opacity = 0.9
|
|
||||||
# opacity = 0.5
|
|
||||||
startup_mode = "Maximized"
|
|
||||||
|
|
||||||
[window.dimensions]
|
|
||||||
columns = 0
|
|
||||||
lines = 0
|
|
||||||
|
|
||||||
[window.padding]
|
|
||||||
x = 0
|
|
||||||
y = 0
|
|
||||||
|
|
@ -1,615 +0,0 @@
|
||||||
[env]
|
|
||||||
TERM = "xterm-256color"
|
|
||||||
|
|
||||||
[colors]
|
|
||||||
draw_bold_text_with_bright_colors = true
|
|
||||||
|
|
||||||
[colors.bright]
|
|
||||||
black = "#444b6a"
|
|
||||||
blue = "#7da6ff"
|
|
||||||
cyan = "#0db9d7"
|
|
||||||
green = "#b9f27c"
|
|
||||||
magenta = "#bb9af7"
|
|
||||||
red = "#ff7a93"
|
|
||||||
white = "#acb0d0"
|
|
||||||
yellow = "#ff9e64"
|
|
||||||
|
|
||||||
[colors.normal]
|
|
||||||
black = "#32344a"
|
|
||||||
blue = "#7aa2f7"
|
|
||||||
cyan = "#449dab"
|
|
||||||
green = "#9ece6a"
|
|
||||||
magenta = "#ad8ee6"
|
|
||||||
red = "#f7768e"
|
|
||||||
white = "#787c99"
|
|
||||||
yellow = "#e0af68"
|
|
||||||
|
|
||||||
[colors.primary]
|
|
||||||
background = "#1a1b26"
|
|
||||||
foreground = "#a9b1d6"
|
|
||||||
|
|
||||||
[cursor]
|
|
||||||
style = "Block"
|
|
||||||
unfocused_hollow = true
|
|
||||||
|
|
||||||
[debug]
|
|
||||||
persistent_logging = false
|
|
||||||
render_timer = false
|
|
||||||
|
|
||||||
[font]
|
|
||||||
size = 7.5
|
|
||||||
|
|
||||||
[font.bold]
|
|
||||||
family = "JetBrainsMono Nerd Font"
|
|
||||||
style = "Bold"
|
|
||||||
|
|
||||||
[font.glyph_offset]
|
|
||||||
x = 0
|
|
||||||
y = 0
|
|
||||||
|
|
||||||
[font.italic]
|
|
||||||
family = "JetBrainsMono Nerd Font"
|
|
||||||
style = "Italic"
|
|
||||||
|
|
||||||
[font.normal]
|
|
||||||
family = "JetBrainsMono Nerd Font"
|
|
||||||
style = "Regular"
|
|
||||||
|
|
||||||
[font.offset]
|
|
||||||
x = 0
|
|
||||||
y = 0
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Paste"
|
|
||||||
key = "V"
|
|
||||||
mods = "Control|Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Copy"
|
|
||||||
key = "C"
|
|
||||||
mods = "Control|Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Paste"
|
|
||||||
key = "Paste"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Copy"
|
|
||||||
key = "Copy"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Quit"
|
|
||||||
key = "Q"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Quit"
|
|
||||||
key = "W"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "PasteSelection"
|
|
||||||
key = "Insert"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "ResetFontSize"
|
|
||||||
key = "Key0"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "IncreaseFontSize"
|
|
||||||
key = "Equals"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "DecreaseFontSize"
|
|
||||||
key = "NumpadSubtract"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "DecreaseFontSize"
|
|
||||||
key = "Minus"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "ClearLogNotice"
|
|
||||||
key = "L"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\f"
|
|
||||||
key = "L"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOH"
|
|
||||||
key = "Home"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[H"
|
|
||||||
key = "Home"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOF"
|
|
||||||
key = "End"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[F"
|
|
||||||
key = "End"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[5;2~"
|
|
||||||
key = "PageUp"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[5;5~"
|
|
||||||
key = "PageUp"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[5~"
|
|
||||||
key = "PageUp"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[6;2~"
|
|
||||||
key = "PageDown"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[6;5~"
|
|
||||||
key = "PageDown"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[6~"
|
|
||||||
key = "PageDown"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[Z"
|
|
||||||
key = "Tab"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u007F"
|
|
||||||
key = "Back"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B\u007F"
|
|
||||||
key = "Back"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[2~"
|
|
||||||
key = "Insert"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[3~"
|
|
||||||
key = "Delete"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2D"
|
|
||||||
key = "Left"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5D"
|
|
||||||
key = "Left"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3D"
|
|
||||||
key = "Left"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[D"
|
|
||||||
key = "Left"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOD"
|
|
||||||
key = "Left"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2C"
|
|
||||||
key = "Right"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5C"
|
|
||||||
key = "Right"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3C"
|
|
||||||
key = "Right"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[C"
|
|
||||||
key = "Right"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOC"
|
|
||||||
key = "Right"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2A"
|
|
||||||
key = "Up"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5A"
|
|
||||||
key = "Up"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3A"
|
|
||||||
key = "Up"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[A"
|
|
||||||
key = "Up"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOA"
|
|
||||||
key = "Up"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2B"
|
|
||||||
key = "Down"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5B"
|
|
||||||
key = "Down"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3B"
|
|
||||||
key = "Down"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[B"
|
|
||||||
key = "Down"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOB"
|
|
||||||
key = "Down"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOP"
|
|
||||||
key = "F1"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOQ"
|
|
||||||
key = "F2"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOR"
|
|
||||||
key = "F3"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOS"
|
|
||||||
key = "F4"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[15~"
|
|
||||||
key = "F5"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[17~"
|
|
||||||
key = "F6"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[18~"
|
|
||||||
key = "F7"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[19~"
|
|
||||||
key = "F8"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[20~"
|
|
||||||
key = "F9"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[21~"
|
|
||||||
key = "F10"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[23~"
|
|
||||||
key = "F11"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[24~"
|
|
||||||
key = "F12"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2P"
|
|
||||||
key = "F1"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2Q"
|
|
||||||
key = "F2"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2R"
|
|
||||||
key = "F3"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2S"
|
|
||||||
key = "F4"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[15;2~"
|
|
||||||
key = "F5"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[17;2~"
|
|
||||||
key = "F6"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[18;2~"
|
|
||||||
key = "F7"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[19;2~"
|
|
||||||
key = "F8"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[20;2~"
|
|
||||||
key = "F9"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[21;2~"
|
|
||||||
key = "F10"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[23;2~"
|
|
||||||
key = "F11"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[24;2~"
|
|
||||||
key = "F12"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5P"
|
|
||||||
key = "F1"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5Q"
|
|
||||||
key = "F2"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5R"
|
|
||||||
key = "F3"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5S"
|
|
||||||
key = "F4"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[15;5~"
|
|
||||||
key = "F5"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[17;5~"
|
|
||||||
key = "F6"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[18;5~"
|
|
||||||
key = "F7"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[19;5~"
|
|
||||||
key = "F8"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[20;5~"
|
|
||||||
key = "F9"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[21;5~"
|
|
||||||
key = "F10"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[23;5~"
|
|
||||||
key = "F11"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[24;5~"
|
|
||||||
key = "F12"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;6P"
|
|
||||||
key = "F1"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;6Q"
|
|
||||||
key = "F2"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;6R"
|
|
||||||
key = "F3"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;6S"
|
|
||||||
key = "F4"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[15;6~"
|
|
||||||
key = "F5"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[17;6~"
|
|
||||||
key = "F6"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[18;6~"
|
|
||||||
key = "F7"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[19;6~"
|
|
||||||
key = "F8"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[20;6~"
|
|
||||||
key = "F9"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[21;6~"
|
|
||||||
key = "F10"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[23;6~"
|
|
||||||
key = "F11"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[24;6~"
|
|
||||||
key = "F12"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3P"
|
|
||||||
key = "F1"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3Q"
|
|
||||||
key = "F2"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3R"
|
|
||||||
key = "F3"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3S"
|
|
||||||
key = "F4"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[15;3~"
|
|
||||||
key = "F5"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[17;3~"
|
|
||||||
key = "F6"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[18;3~"
|
|
||||||
key = "F7"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[19;3~"
|
|
||||||
key = "F8"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[20;3~"
|
|
||||||
key = "F9"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[21;3~"
|
|
||||||
key = "F10"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[23;3~"
|
|
||||||
key = "F11"
|
|
||||||
mods = "Super"
|
|
||||||
|
|
||||||
# [mouse]
|
|
||||||
# hide_when_typing = false
|
|
||||||
#
|
|
||||||
# [[mouse.bindings]]
|
|
||||||
# action = "PasteSelection"
|
|
||||||
# mouse = "Middle"
|
|
||||||
#
|
|
||||||
# [mouse.double_click]
|
|
||||||
# threshold = 300
|
|
||||||
#
|
|
||||||
# [mouse.hints]
|
|
||||||
# launcher = "xdg-open"
|
|
||||||
# modifiers = "Control"
|
|
||||||
#
|
|
||||||
# [mouse.triple_click]
|
|
||||||
# threshold = 300
|
|
||||||
#
|
|
||||||
[scrolling]
|
|
||||||
history = 100000
|
|
||||||
multiplier = 3
|
|
||||||
|
|
||||||
[selection]
|
|
||||||
save_to_clipboard = false
|
|
||||||
semantic_escape_chars = ",│`|:\"' ()[]{}<>"
|
|
||||||
|
|
||||||
[window]
|
|
||||||
decorations = "none"
|
|
||||||
dynamic_padding = false
|
|
||||||
opacity = 0.9
|
|
||||||
startup_mode = "Maximized"
|
|
||||||
|
|
||||||
[window.dimensions]
|
|
||||||
columns = 0
|
|
||||||
lines = 0
|
|
||||||
|
|
||||||
[window.padding]
|
|
||||||
x = 0
|
|
||||||
y = 0
|
|
||||||
|
|
@ -1,60 +0,0 @@
|
||||||
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
|
||||||
# Copyright (C) 2018 Donovan Glover
|
|
||||||
|
|
||||||
# NOTE: This file is automatically generated by pywal. Do not edit it by hand.
|
|
||||||
|
|
||||||
[global]
|
|
||||||
# Make the width 3740 (3840 - 100), have 50 left margin and 95 above
|
|
||||||
# geometry = "3740x5-50+95"
|
|
||||||
offset = 3x20
|
|
||||||
|
|
||||||
# Show multiple notifications in the same box
|
|
||||||
separator_height = 0
|
|
||||||
|
|
||||||
# Add vertical padding to the inside of the notification
|
|
||||||
padding = 8
|
|
||||||
|
|
||||||
# Add horizontal padding for when the text gets long enough
|
|
||||||
horizontal_padding = 8
|
|
||||||
|
|
||||||
# The frame color and width of the notification
|
|
||||||
frame_color = "#224487"
|
|
||||||
frame_width = 2
|
|
||||||
|
|
||||||
# How long a user needs to be idle for sticky notifications
|
|
||||||
idle_threshold = 120
|
|
||||||
|
|
||||||
# Font and typography settings
|
|
||||||
font = JetbrainsMono Nerd Font 10
|
|
||||||
alignment = left
|
|
||||||
word_wrap = yes
|
|
||||||
|
|
||||||
# Format for how notifications will be displayed
|
|
||||||
# Usage: `notify-send 'Title' 'Summary'`
|
|
||||||
format = "<b>%s</b>\n%b"
|
|
||||||
|
|
||||||
# Allow some HTML tags like <i> and <u> in notifications
|
|
||||||
markup = full
|
|
||||||
max_icon_size = 120
|
|
||||||
transparency = 5
|
|
||||||
|
|
||||||
# These are the keybindings used to control dunst notifications
|
|
||||||
[shortcuts]
|
|
||||||
close = ctrl+space
|
|
||||||
close_all = ctrl+shift+space
|
|
||||||
history = ctrl+grave
|
|
||||||
|
|
||||||
# Set the background and foreground (text) color for all notifications
|
|
||||||
[urgency_low]
|
|
||||||
background = "#000000"
|
|
||||||
foreground = "#ffffff"
|
|
||||||
|
|
||||||
[urgency_normal]
|
|
||||||
background = "#000000"
|
|
||||||
foreground = "#ffffff"
|
|
||||||
|
|
||||||
[urgency_critical]
|
|
||||||
background = "#000000"
|
|
||||||
foreground = "#ffffff"
|
|
||||||
|
|
||||||
# vim:ft=cfg
|
|
||||||
|
|
@ -4,8 +4,8 @@
|
||||||
include "/home/krolyxon/.gtkrc-2.0.mine"
|
include "/home/krolyxon/.gtkrc-2.0.mine"
|
||||||
gtk-theme-name="Arc-Dark"
|
gtk-theme-name="Arc-Dark"
|
||||||
gtk-icon-theme-name="Papirus-Dark"
|
gtk-icon-theme-name="Papirus-Dark"
|
||||||
gtk-font-name="JetBrainsMonoNL Nerd Font Thin 11"
|
gtk-font-name="Fira Code 11"
|
||||||
gtk-cursor-theme-name="WhiteSur-cursors"
|
gtk-cursor-theme-name="Adwaita"
|
||||||
gtk-cursor-theme-size=0
|
gtk-cursor-theme-size=0
|
||||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
||||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
general {
|
||||||
|
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
||||||
|
before_sleep_cmd = loginctl lock-session # lock before suspend.
|
||||||
|
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
||||||
|
}
|
||||||
|
|
||||||
|
listener {
|
||||||
|
timeout = 150 # 2.5min.
|
||||||
|
on-timeout = brightnessctl -s set 5 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||||
|
on-resume = brightnessctl -r # monitor backlight restore.
|
||||||
|
}
|
||||||
|
|
||||||
|
listener {
|
||||||
|
timeout = 600 # 10min
|
||||||
|
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||||
|
}
|
||||||
|
|
||||||
|
listener {
|
||||||
|
timeout = 330 # 5.5min
|
||||||
|
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||||
|
on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected after timeout has fired.
|
||||||
|
}
|
||||||
|
|
||||||
|
# listener {
|
||||||
|
# timeout = 1800 # 30min
|
||||||
|
# on-timeout = systemctl suspend # suspend pc
|
||||||
|
# }
|
||||||
|
|
@ -0,0 +1,307 @@
|
||||||
|
autogenerated = 0
|
||||||
|
|
||||||
|
###################
|
||||||
|
### MY PROGRAMS ###
|
||||||
|
###################
|
||||||
|
$terminal = alacritty
|
||||||
|
$menu = rofi -show run
|
||||||
|
$browser = zen-browser
|
||||||
|
|
||||||
|
|
||||||
|
#################
|
||||||
|
### AUTOSTART ###
|
||||||
|
#################
|
||||||
|
exec-once = (hyprpm reload -n & kanshi & waybar & swaync & gammastep & hypridle)
|
||||||
|
exec-once = ~/.local/bin/setwall
|
||||||
|
exec-once = systemctl --user start hyprpolkitagent
|
||||||
|
|
||||||
|
plugin {
|
||||||
|
hyprsplit {
|
||||||
|
num_workspaces = 10
|
||||||
|
persistent_workspaces = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#############################
|
||||||
|
### ENVIRONMENT VARIABLES ###
|
||||||
|
#############################
|
||||||
|
# See https://wiki.hypr.land/Configuring/Environment-variables/
|
||||||
|
env = HYPRSHOT_DIR,/home/krolyxon/pix/ss/
|
||||||
|
env = XCURSOR_SIZE,24
|
||||||
|
env = HYPRCURSOR_SIZE,24
|
||||||
|
env = GTK_THEME,Arc-Dark
|
||||||
|
|
||||||
|
# XDG Specifications
|
||||||
|
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||||
|
env = XDG_SESSION_TYPE,wayland
|
||||||
|
env = XDG_SESSION_DESKTOP,Hyprland
|
||||||
|
|
||||||
|
# Toolkit
|
||||||
|
env = GDK_BACKEND,wayland,x11,* # GTK: Use Wayland if available; if not, try X11 and then any other GDK backend.
|
||||||
|
env = QT_QPA_PLATFORM,wayland;xcb # Qt: Use Wayland if available, fall back to X11 if not
|
||||||
|
env = SDL_VIDEODRIVER,Wayland # Run SDL2 applications on Wayland. Remove or set to x11 if games that provide older versions of SDL cause compatibility issues
|
||||||
|
env = CLUTTER_BACKEND,wayland # Clutter applications to try and use the Wayland backend
|
||||||
|
|
||||||
|
# Nvidia
|
||||||
|
# env = GBM_BACKEND,nvidia-drm
|
||||||
|
# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||||
|
# env = LIBVA_DRIVER_NAME,nvidia
|
||||||
|
|
||||||
|
#######################
|
||||||
|
### PLUGIN SETTINGS ###
|
||||||
|
#######################
|
||||||
|
plugin {
|
||||||
|
split-monitor-workspaces {
|
||||||
|
count = 10
|
||||||
|
keep_focused = 1
|
||||||
|
enable_notifications = 0
|
||||||
|
enable_persistent_workspaces = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###################
|
||||||
|
### PERMISSIONS ###
|
||||||
|
###################
|
||||||
|
ecosystem {
|
||||||
|
enforce_permissions = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
permission = /usr/(bin|local/bin)/grim, screencopy, allow
|
||||||
|
permission = /usr/(bin|local/bin)/hyprlock, screencopy, allow
|
||||||
|
permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
|
||||||
|
permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
|
||||||
|
permission = ${lib.escapeRegex (lib.getExe config.programs.hyprlock.package)}, screencopy, allow
|
||||||
|
|
||||||
|
|
||||||
|
#####################
|
||||||
|
### LOOK AND FEEL ###
|
||||||
|
#####################
|
||||||
|
general {
|
||||||
|
gaps_in = 5
|
||||||
|
gaps_out = 5
|
||||||
|
border_size = 2
|
||||||
|
resize_on_border = false
|
||||||
|
allow_tearing = false
|
||||||
|
# col.active_border = rgba(7da6ffee)
|
||||||
|
# col.inactive_border = rgba(888e8eaa)
|
||||||
|
col.active_border = rgb(8aadf4) rgb(24273A) rgb(24273A) rgb(8aadf4) 45deg
|
||||||
|
col.inactive_border = rgb(24273A) rgb(24273A) rgb(24273A) rgb(27273A) 45deg
|
||||||
|
layout = master
|
||||||
|
}
|
||||||
|
|
||||||
|
decoration {
|
||||||
|
rounding = 8
|
||||||
|
|
||||||
|
|
||||||
|
# blur {
|
||||||
|
# enabled = false
|
||||||
|
# size = 3
|
||||||
|
# passes = 1
|
||||||
|
# }
|
||||||
|
|
||||||
|
|
||||||
|
# blur {
|
||||||
|
# enabled = true
|
||||||
|
# size = 3
|
||||||
|
# passes = 3
|
||||||
|
# new_optimizations = true
|
||||||
|
# vibrancy = 0.1696
|
||||||
|
# ignore_opacity = true
|
||||||
|
# }
|
||||||
|
}
|
||||||
|
|
||||||
|
animations {
|
||||||
|
enabled = yes
|
||||||
|
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||||
|
animation = windows, 1, 7, myBezier
|
||||||
|
animation = windowsOut, 1, 7, default, popin 80%
|
||||||
|
animation = border, 1, 10, default
|
||||||
|
animation = borderangle, 1, 8, default
|
||||||
|
animation = fade, 1, 7, default
|
||||||
|
animation = workspaces, 1, 6, default
|
||||||
|
}
|
||||||
|
|
||||||
|
# Ref https://wiki.hypr.land/Configuring/Workspace-Rules/
|
||||||
|
# "Smart gaps" / "No gaps when only"
|
||||||
|
# uncomment all if you wish to use that.
|
||||||
|
# workspace = w[tv1], gapsout:0, gapsin:0
|
||||||
|
# workspace = f[1], gapsout:0, gapsin:0
|
||||||
|
# windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
|
||||||
|
# windowrule = rounding 0, floating:0, onworkspace:w[tv1]
|
||||||
|
# windowrule = bordersize 0, floating:0, onworkspace:f[1]
|
||||||
|
# windowrule = rounding 0, floating:0, onworkspace:f[1]
|
||||||
|
|
||||||
|
# See https://wiki.hypr.land/Configuring/Dwindle-Layout/ for more
|
||||||
|
dwindle {
|
||||||
|
pseudotile = true# Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||||
|
preserve_split = true # You probably want this
|
||||||
|
}
|
||||||
|
|
||||||
|
# See https://wiki.hypr.land/Configuring/Master-Layout/ for more
|
||||||
|
master {
|
||||||
|
new_status = master
|
||||||
|
new_on_top = true
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hypr.land/Configuring/Variables/#misc
|
||||||
|
misc {
|
||||||
|
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||||
|
disable_hyprland_logo = true# If true disables the random hyprland logo / anime girl background. :(
|
||||||
|
disable_splash_rendering = true
|
||||||
|
|
||||||
|
mouse_move_enables_dpms = true
|
||||||
|
key_press_enables_dpms = true
|
||||||
|
|
||||||
|
vrr = 0 # Disable adaptive sync
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#############
|
||||||
|
### INPUT ###
|
||||||
|
#############
|
||||||
|
|
||||||
|
# https://wiki.hypr.land/Configuring/Variables/#input
|
||||||
|
input {
|
||||||
|
kb_layout = us
|
||||||
|
kb_variant =
|
||||||
|
kb_model =
|
||||||
|
kb_options =
|
||||||
|
kb_rules =
|
||||||
|
|
||||||
|
follow_mouse = 1
|
||||||
|
|
||||||
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
|
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = false
|
||||||
|
}
|
||||||
|
|
||||||
|
repeat_delay = 300
|
||||||
|
repeat_rate = 50
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hypr.land/Configuring/Variables/#gestures
|
||||||
|
gestures {
|
||||||
|
workspace_swipe = false
|
||||||
|
}
|
||||||
|
|
||||||
|
# Example per-device config
|
||||||
|
# See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more
|
||||||
|
device {
|
||||||
|
name = epic-mouse-v1
|
||||||
|
sensitivity = -0.5
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
###################
|
||||||
|
### KEYBINDINGS ###
|
||||||
|
###################
|
||||||
|
|
||||||
|
# See https://wiki.hypr.land/Configuring/Keywords/
|
||||||
|
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||||
|
|
||||||
|
# Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
|
||||||
|
bind = $mainMod, Return, exec, $terminal
|
||||||
|
bind = $mainMod SHIFT, X, killactive,
|
||||||
|
bind = $mainMod SHIFT, Q, exit,
|
||||||
|
bind = $mainMod, F, Fullscreen
|
||||||
|
bind = $mainMod SHIFT, R, togglefloating,
|
||||||
|
bind = $mainMod, R, exec, $menu
|
||||||
|
bind = $mainMod SHIFT, P, pseudo, # dwindle
|
||||||
|
bind = $mainMod, J, togglesplit, # dwindle
|
||||||
|
binde = $mainMod, tab, cyclenext, prev
|
||||||
|
bind = $mainMod, b, exec, killall waybar || waybar
|
||||||
|
bind = $mainMod, grave, exec, rofiunicode
|
||||||
|
bind = $mainMod, escape, exec, sysact
|
||||||
|
|
||||||
|
# Applications
|
||||||
|
bind = $mainMod, W, exec, $browser
|
||||||
|
|
||||||
|
# Music Controls
|
||||||
|
bind = $mainMod, m, exec, $terminal -e "ncmpcpp"
|
||||||
|
bind = $mainMod, p, exec, mpc toggle
|
||||||
|
binde = $mainMod, comma, exec, mpc seek -10
|
||||||
|
binde = $mainMod, period, exec, mpc seek +10
|
||||||
|
|
||||||
|
# Swap current focused window with master
|
||||||
|
bind = $mainMod, space, layoutmsg, swapwithmaster
|
||||||
|
|
||||||
|
# Resize windows with h/j/k/l
|
||||||
|
binde = $mainMod, h, resizeactive, -30 0
|
||||||
|
binde = $mainMod, l, resizeactive, 30 0
|
||||||
|
binde = $mainMod, k, resizeactive, 0 -30
|
||||||
|
binde = $mainMod, j, resizeactive, 0 30
|
||||||
|
|
||||||
|
# Switch workspaces with mainMod + [0-9]
|
||||||
|
bind = $mainMod, 1, split-workspace, 1
|
||||||
|
bind = $mainMod, 2, split-workspace, 2
|
||||||
|
bind = $mainMod, 3, split-workspace, 3
|
||||||
|
bind = $mainMod, 4, split-workspace, 4
|
||||||
|
bind = $mainMod, 5, split-workspace, 5
|
||||||
|
bind = $mainMod, 6, split-workspace, 6
|
||||||
|
bind = $mainMod, 7, split-workspace, 7
|
||||||
|
bind = $mainMod, 8, split-workspace, 8
|
||||||
|
bind = $mainMod, 9, split-workspace, 9
|
||||||
|
bind = $mainMod, 0, split-workspace, 10
|
||||||
|
|
||||||
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
|
bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1
|
||||||
|
bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2
|
||||||
|
bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3
|
||||||
|
bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4
|
||||||
|
bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5
|
||||||
|
bind = $mainMod SHIFT, 6, split-movetoworkspacesilent, 6
|
||||||
|
bind = $mainMod SHIFT, 7, split-movetoworkspacesilent, 7
|
||||||
|
bind = $mainMod SHIFT, 8, split-movetoworkspacesilent, 8
|
||||||
|
bind = $mainMod SHIFT, 9, split-movetoworkspacesilent, 9
|
||||||
|
bind = $mainMod SHIFT, 0, split-movetoworkspacesilent, 10
|
||||||
|
|
||||||
|
# Example special workspace (scratchpad)
|
||||||
|
bind = $mainMod, S, togglespecialworkspace, magic
|
||||||
|
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||||
|
|
||||||
|
# Have scratchpad like DWM which opens alacritty in special workspace
|
||||||
|
workspace = special:h, on-created-empty: alacritty
|
||||||
|
bind = $mainMod SHIFT, Return, togglespecialworkspace, h
|
||||||
|
|
||||||
|
|
||||||
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
|
bind = $mainMod, mouse_up, workspace, e-1
|
||||||
|
|
||||||
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
|
# Laptop multimedia keys for volume and LCD brightness
|
||||||
|
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
|
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
|
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
|
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||||
|
bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
|
||||||
|
bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
|
||||||
|
|
||||||
|
# Requires playerctl
|
||||||
|
bindl = , XF86AudioNext, exec, playerctl next
|
||||||
|
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||||
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||||
|
|
||||||
|
##############################
|
||||||
|
### WINDOWS AND WORKSPACES ###
|
||||||
|
##############################
|
||||||
|
|
||||||
|
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
|
||||||
|
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
|
||||||
|
|
||||||
|
# Example windowrule
|
||||||
|
# windowrule = float,class:^(kitty)$,title:^(kitty)$
|
||||||
|
|
||||||
|
# Ignore maximize requests from apps. You'll probably like this.
|
||||||
|
windowrule = suppressevent maximize, class:.*
|
||||||
|
|
||||||
|
# Fix some dragging issues with XWayland
|
||||||
|
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||||
|
|
@ -0,0 +1,100 @@
|
||||||
|
source = $HOME/.config/hypr/mocha.conf
|
||||||
|
|
||||||
|
$accent = $mauve
|
||||||
|
$accentAlpha = $mauveAlpha
|
||||||
|
$font = JetBrainsMono Nerd Font
|
||||||
|
|
||||||
|
# GENERAL
|
||||||
|
general {
|
||||||
|
hide_cursor = true
|
||||||
|
}
|
||||||
|
|
||||||
|
# BACKGROUND
|
||||||
|
background {
|
||||||
|
monitor =
|
||||||
|
path = $HOME/.config/background
|
||||||
|
blur_passes = 0
|
||||||
|
color = $base
|
||||||
|
}
|
||||||
|
|
||||||
|
# LAYOUT
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = Layout: $LAYOUT
|
||||||
|
color = $text
|
||||||
|
font_size = 25
|
||||||
|
font_family = $font
|
||||||
|
position = 30, -30
|
||||||
|
halign = left
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# TIME
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = $TIME
|
||||||
|
color = $text
|
||||||
|
font_size = 90
|
||||||
|
font_family = $font
|
||||||
|
position = -30, 0
|
||||||
|
halign = right
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# DATE
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:43200000] date +"%A, %d %B %Y"
|
||||||
|
color = $text
|
||||||
|
font_size = 25
|
||||||
|
font_family = $font
|
||||||
|
position = -30, -150
|
||||||
|
halign = right
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# FINGERPRINT
|
||||||
|
{
|
||||||
|
monitor = "";
|
||||||
|
text = "$FPRINTPROMPT";
|
||||||
|
color = "$text";
|
||||||
|
font_size = 14;
|
||||||
|
font_family = $font;
|
||||||
|
position = "0, -107";
|
||||||
|
halign = "center";
|
||||||
|
valign = "center";
|
||||||
|
}
|
||||||
|
|
||||||
|
# USER AVATAR
|
||||||
|
image {
|
||||||
|
monitor =
|
||||||
|
path = $HOME/.face
|
||||||
|
size = 100
|
||||||
|
border_color = $accent
|
||||||
|
position = 0, 75
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# INPUT FIELD
|
||||||
|
input-field {
|
||||||
|
monitor =
|
||||||
|
size = 300, 60
|
||||||
|
outline_thickness = 4
|
||||||
|
dots_size = 0.2
|
||||||
|
dots_spacing = 0.2
|
||||||
|
dots_center = true
|
||||||
|
outer_color = $accent
|
||||||
|
inner_color = $surface0
|
||||||
|
font_color = $text
|
||||||
|
fade_on_empty = false
|
||||||
|
placeholder_text = <span foreground="##$textAlpha"><i> Logged in as </i><span foreground="##$accentAlpha">$USER</span></span>
|
||||||
|
hide_input = false
|
||||||
|
check_color = $accent
|
||||||
|
fail_color = $red
|
||||||
|
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
|
||||||
|
capslock_color = $yellow
|
||||||
|
position = 0, -47
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,78 @@
|
||||||
|
|
||||||
|
$rosewater = rgb(f5e0dc)
|
||||||
|
$rosewaterAlpha = f5e0dc
|
||||||
|
|
||||||
|
$flamingo = rgb(f2cdcd)
|
||||||
|
$flamingoAlpha = f2cdcd
|
||||||
|
|
||||||
|
$pink = rgb(f5c2e7)
|
||||||
|
$pinkAlpha = f5c2e7
|
||||||
|
|
||||||
|
$mauve = rgb(cba6f7)
|
||||||
|
$mauveAlpha = cba6f7
|
||||||
|
|
||||||
|
$red = rgb(f38ba8)
|
||||||
|
$redAlpha = f38ba8
|
||||||
|
|
||||||
|
$maroon = rgb(eba0ac)
|
||||||
|
$maroonAlpha = eba0ac
|
||||||
|
|
||||||
|
$peach = rgb(fab387)
|
||||||
|
$peachAlpha = fab387
|
||||||
|
|
||||||
|
$yellow = rgb(f9e2af)
|
||||||
|
$yellowAlpha = f9e2af
|
||||||
|
|
||||||
|
$green = rgb(a6e3a1)
|
||||||
|
$greenAlpha = a6e3a1
|
||||||
|
|
||||||
|
$teal = rgb(94e2d5)
|
||||||
|
$tealAlpha = 94e2d5
|
||||||
|
|
||||||
|
$sky = rgb(89dceb)
|
||||||
|
$skyAlpha = 89dceb
|
||||||
|
|
||||||
|
$sapphire = rgb(74c7ec)
|
||||||
|
$sapphireAlpha = 74c7ec
|
||||||
|
|
||||||
|
$blue = rgb(89b4fa)
|
||||||
|
$blueAlpha = 89b4fa
|
||||||
|
|
||||||
|
$lavender = rgb(b4befe)
|
||||||
|
$lavenderAlpha = b4befe
|
||||||
|
|
||||||
|
$text = rgb(cdd6f4)
|
||||||
|
$textAlpha = cdd6f4
|
||||||
|
|
||||||
|
$subtext1 = rgb(bac2de)
|
||||||
|
$subtext1Alpha = bac2de
|
||||||
|
|
||||||
|
$subtext0 = rgb(a6adc8)
|
||||||
|
$subtext0Alpha = a6adc8
|
||||||
|
|
||||||
|
$overlay2 = rgb(9399b2)
|
||||||
|
$overlay2Alpha = 9399b2
|
||||||
|
|
||||||
|
$overlay1 = rgb(7f849c)
|
||||||
|
$overlay1Alpha = 7f849c
|
||||||
|
|
||||||
|
$overlay0 = rgb(6c7086)
|
||||||
|
$overlay0Alpha = 6c7086
|
||||||
|
|
||||||
|
$surface2 = rgb(585b70)
|
||||||
|
$surface2Alpha = 585b70
|
||||||
|
|
||||||
|
$surface1 = rgb(45475a)
|
||||||
|
$surface1Alpha = 45475a
|
||||||
|
|
||||||
|
$surface0 = rgb(313244)
|
||||||
|
$surface0Alpha = 313244
|
||||||
|
|
||||||
|
$base = rgb(1e1e2e)
|
||||||
|
$baseAlpha = 1e1e2e
|
||||||
|
|
||||||
|
$mantle = rgb(181825)
|
||||||
|
$mantleAlpha = 181825
|
||||||
|
|
||||||
|
$crust = rgb(11111b)
|
||||||
|
$crustAlpha = 11111b
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
profile laptop-only {
|
||||||
|
output eDP-1 {
|
||||||
|
enable
|
||||||
|
mode 1920x1080
|
||||||
|
scale 1
|
||||||
|
position 0,0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
profile docked {
|
||||||
|
output eDP-1 {
|
||||||
|
mode 1920x1080
|
||||||
|
scale 1
|
||||||
|
position 0,0
|
||||||
|
}
|
||||||
|
|
||||||
|
output HDMI-A-1 {
|
||||||
|
mode 1920x1080
|
||||||
|
scale 1
|
||||||
|
position 1920,0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -13,7 +13,26 @@ video/x-matroska=video.desktop
|
||||||
x-scheme-handler/lbry=lbry.desktop
|
x-scheme-handler/lbry=lbry.desktop
|
||||||
inode/directory=file.desktop
|
inode/directory=file.desktop
|
||||||
x-scheme-handler/tonsite=org.telegram.desktop.desktop
|
x-scheme-handler/tonsite=org.telegram.desktop.desktop
|
||||||
x-scheme-handler/mailto=brave-browser.desktop
|
x-scheme-handler/http=zen.desktop
|
||||||
|
x-scheme-handler/https=zen.desktop
|
||||||
|
x-scheme-handler/chrome=zen.desktop
|
||||||
|
text/html=zen.desktop
|
||||||
|
application/x-extension-htm=zen.desktop
|
||||||
|
application/x-extension-html=zen.desktop
|
||||||
|
application/x-extension-shtml=zen.desktop
|
||||||
|
application/xhtml+xml=zen.desktop
|
||||||
|
application/x-extension-xhtml=zen.desktop
|
||||||
|
application/x-extension-xht=zen.desktop
|
||||||
|
|
||||||
[Added Associations]
|
[Added Associations]
|
||||||
x-scheme-handler/tonsite=org.telegram.desktop.desktop;
|
x-scheme-handler/tonsite=org.telegram.desktop.desktop;
|
||||||
|
x-scheme-handler/http=zen.desktop;
|
||||||
|
x-scheme-handler/https=zen.desktop;
|
||||||
|
x-scheme-handler/chrome=zen.desktop;
|
||||||
|
text/html=zen.desktop;
|
||||||
|
application/x-extension-htm=zen.desktop;
|
||||||
|
application/x-extension-html=zen.desktop;
|
||||||
|
application/x-extension-shtml=zen.desktop;
|
||||||
|
application/xhtml+xml=zen.desktop;
|
||||||
|
application/x-extension-xhtml=zen.desktop;
|
||||||
|
application/x-extension-xht=zen.desktop;
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,205 @@
|
||||||
|
* {
|
||||||
|
rosewater: #f5e0dc;
|
||||||
|
flamingo: #f2cdcd;
|
||||||
|
pink: #f5c2e7;
|
||||||
|
mauve: #cba6f7;
|
||||||
|
red: #f38ba8;
|
||||||
|
maroon: #eba0ac;
|
||||||
|
peach: #fab387;
|
||||||
|
yellow: #f9e2af;
|
||||||
|
green: #a6e3a1;
|
||||||
|
teal: #94e2d5;
|
||||||
|
sky: #89dceb;
|
||||||
|
sapphire: #74c7ec;
|
||||||
|
blue: #89b4fa;
|
||||||
|
lavender: #b4befe;
|
||||||
|
text: #cdd6f4;
|
||||||
|
subtext1: #bac2de;
|
||||||
|
subtext0: #a6adc8;
|
||||||
|
overlay2: #9399b2;
|
||||||
|
overlay1: #7f849c;
|
||||||
|
overlay0: #6c7086;
|
||||||
|
surface2: #585b70;
|
||||||
|
surface1: #45475a;
|
||||||
|
surface0: #313244;
|
||||||
|
base: #1e1e2e;
|
||||||
|
mantle: #181825;
|
||||||
|
crust: #11111b;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
selected-active-foreground: @background;
|
||||||
|
lightfg: @text;
|
||||||
|
separatorcolor: @foreground;
|
||||||
|
urgent-foreground: @red;
|
||||||
|
alternate-urgent-background: @lightbg;
|
||||||
|
lightbg: @mantle;
|
||||||
|
background-color: transparent;
|
||||||
|
border-color: @foreground;
|
||||||
|
normal-background: @background;
|
||||||
|
selected-urgent-background: @red;
|
||||||
|
alternate-active-background: @lightbg;
|
||||||
|
spacing: 2;
|
||||||
|
alternate-normal-foreground: @foreground;
|
||||||
|
urgent-background: @background;
|
||||||
|
selected-normal-foreground: @lightbg;
|
||||||
|
active-foreground: @blue;
|
||||||
|
background: @base;
|
||||||
|
selected-active-background: @blue;
|
||||||
|
active-background: @background;
|
||||||
|
selected-normal-background: @lightfg;
|
||||||
|
alternate-normal-background: @lightbg;
|
||||||
|
foreground: @text;
|
||||||
|
selected-urgent-foreground: @background;
|
||||||
|
normal-foreground: @foreground;
|
||||||
|
alternate-urgent-foreground: @red;
|
||||||
|
alternate-active-foreground: @blue;
|
||||||
|
|
||||||
|
}
|
||||||
|
element {
|
||||||
|
cursor: pointer;
|
||||||
|
spacing: 5px ;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
element normal.normal {
|
||||||
|
background-color: @normal-background;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
element normal.urgent {
|
||||||
|
background-color: @urgent-background;
|
||||||
|
text-color: @urgent-foreground;
|
||||||
|
}
|
||||||
|
element normal.active {
|
||||||
|
background-color: @active-background;
|
||||||
|
text-color: @active-foreground;
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: @selected-normal-background;
|
||||||
|
text-color: @selected-normal-foreground;
|
||||||
|
}
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: @selected-urgent-background;
|
||||||
|
text-color: @selected-urgent-foreground;
|
||||||
|
}
|
||||||
|
element selected.active {
|
||||||
|
background-color: @selected-active-background;
|
||||||
|
text-color: @selected-active-foreground;
|
||||||
|
}
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: @alternate-normal-background;
|
||||||
|
text-color: @alternate-normal-foreground;
|
||||||
|
}
|
||||||
|
element alternate.urgent {
|
||||||
|
background-color: @alternate-urgent-background;
|
||||||
|
text-color: @alternate-urgent-foreground;
|
||||||
|
}
|
||||||
|
element alternate.active {
|
||||||
|
background-color: @alternate-active-background;
|
||||||
|
text-color: @alternate-active-foreground;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: inherit;
|
||||||
|
highlight: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
element-icon {
|
||||||
|
background-color: transparent;
|
||||||
|
size: 1.0000em ;
|
||||||
|
cursor: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
window {
|
||||||
|
padding: 5;
|
||||||
|
background-color: @background;
|
||||||
|
border: 1;
|
||||||
|
// width: 100%;
|
||||||
|
}
|
||||||
|
mainbox {
|
||||||
|
padding: 0;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
message {
|
||||||
|
padding: 1px ;
|
||||||
|
border-color: @separatorcolor;
|
||||||
|
border: 2px dash 0px 0px ;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
listview {
|
||||||
|
padding: 2px 0px 0px ;
|
||||||
|
scrollbar: true;
|
||||||
|
border-color: @separatorcolor;
|
||||||
|
spacing: 2px ;
|
||||||
|
fixed-height: 0;
|
||||||
|
border: 2px dash 0px 0px ;
|
||||||
|
}
|
||||||
|
scrollbar {
|
||||||
|
width: 4px ;
|
||||||
|
padding: 0;
|
||||||
|
handle-width: 8px ;
|
||||||
|
border: 0;
|
||||||
|
handle-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
sidebar {
|
||||||
|
border-color: @separatorcolor;
|
||||||
|
border: 2px dash 0px 0px ;
|
||||||
|
}
|
||||||
|
button {
|
||||||
|
cursor: pointer;
|
||||||
|
spacing: 0;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
button selected {
|
||||||
|
background-color: @selected-normal-background;
|
||||||
|
text-color: @selected-normal-foreground;
|
||||||
|
}
|
||||||
|
num-filtered-rows {
|
||||||
|
expand: false;
|
||||||
|
text-color: Gray;
|
||||||
|
}
|
||||||
|
num-rows {
|
||||||
|
expand: false;
|
||||||
|
text-color: Gray;
|
||||||
|
}
|
||||||
|
textbox-num-sep {
|
||||||
|
expand: false;
|
||||||
|
str: "/";
|
||||||
|
text-color: Gray;
|
||||||
|
}
|
||||||
|
inputbar {
|
||||||
|
padding: 1px ;
|
||||||
|
spacing: 0px ;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
children: [ "prompt","textbox-prompt-colon","entry","num-filtered-rows","textbox-num-sep","num-rows","case-indicator" ];
|
||||||
|
}
|
||||||
|
case-indicator {
|
||||||
|
spacing: 0;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
entry {
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
cursor: text;
|
||||||
|
spacing: 0;
|
||||||
|
placeholder-color: Gray;
|
||||||
|
placeholder: "Type to filter";
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
spacing: 0;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
configuration {
|
||||||
|
matching: "fuzzy";
|
||||||
|
sort: true;
|
||||||
|
case-sensitive: false;
|
||||||
|
font: "Fira Code 11";
|
||||||
|
window-format: "{w} · {c} · {t}";
|
||||||
|
}
|
||||||
|
textbox-prompt-colon {
|
||||||
|
margin: 0px 0.3000em 0.0000em 0.0000em ;
|
||||||
|
expand: false;
|
||||||
|
str: ":";
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
export TERMINAL="alacritty"
|
export TERMINAL="alacritty"
|
||||||
export TERMINAL_PROG="alacritty"
|
export TERMINAL_PROG="alacritty"
|
||||||
export BROWSER="brave"
|
export BROWSER="zen-browser"
|
||||||
|
|
||||||
export XDG_CONFIG_HOME="$HOME/.config"
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
export XDG_DATA_HOME="$HOME/.local/share"
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
|
|
@ -32,7 +32,7 @@ export MYSQL_HISTFILE="$XDG_CACHE_HOME/.mariadb_history"
|
||||||
export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
|
export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
|
||||||
|
|
||||||
# Other program settings
|
# Other program settings
|
||||||
export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"
|
export SUDO_ASKPASS="$HOME/.local/bin/rofipass"
|
||||||
export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
|
export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
|
||||||
export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android"
|
export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android"
|
||||||
export ANDROID_HOME="$HOME/Android/Sdk/"
|
export ANDROID_HOME="$HOME/Android/Sdk/"
|
||||||
|
|
@ -56,4 +56,4 @@ export MPD_PORT="6600"
|
||||||
[ ! -s ~/.config/mpd/pid ] && mpd
|
[ ! -s ~/.config/mpd/pid ] && mpd
|
||||||
|
|
||||||
# Start graphical server on user's current tty if not already running.
|
# Start graphical server on user's current tty if not already running.
|
||||||
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"
|
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s hyprland >/dev/null 2>&1 && exec hyprland
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,324 @@
|
||||||
|
* {
|
||||||
|
all: unset;
|
||||||
|
font-size: 14px;
|
||||||
|
font-family: "Ubuntu Nerd Font";
|
||||||
|
transition: 200ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
trough highlight {
|
||||||
|
background: #cdd6f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
scale {
|
||||||
|
margin: 0 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
scale trough {
|
||||||
|
margin: 0rem 1rem;
|
||||||
|
min-height: 8px;
|
||||||
|
min-width: 70px;
|
||||||
|
border-radius: 12.6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
trough slider {
|
||||||
|
margin: -10px;
|
||||||
|
border-radius: 12.6px;
|
||||||
|
box-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
background-color: #89b4fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
trough slider:hover {
|
||||||
|
box-shadow: 0 0 2px rgba(0, 0, 0, 0.8), 0 0 8px #89b4fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
trough {
|
||||||
|
background-color: #313244;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* notifications */
|
||||||
|
.notification-background {
|
||||||
|
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.8), inset 0 0 0 1px #45475a;
|
||||||
|
border-radius: 12.6px;
|
||||||
|
margin: 18px;
|
||||||
|
background: #181825;
|
||||||
|
color: #cdd6f4;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification-background .notification {
|
||||||
|
padding: 7px;
|
||||||
|
border-radius: 12.6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification-background .notification.critical {
|
||||||
|
box-shadow: inset 0 0 7px 0 #f38ba8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification .notification-content {
|
||||||
|
margin: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification .notification-content overlay {
|
||||||
|
/* icons */
|
||||||
|
margin: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification-content .summary {
|
||||||
|
color: #cdd6f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification-content .time {
|
||||||
|
color: #a6adc8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification-content .body {
|
||||||
|
color: #bac2de;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification > *:last-child > * {
|
||||||
|
min-height: 3.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification-background .close-button {
|
||||||
|
margin: 7px;
|
||||||
|
padding: 2px;
|
||||||
|
border-radius: 6.3px;
|
||||||
|
color: #1e1e2e;
|
||||||
|
background-color: #f38ba8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification-background .close-button:hover {
|
||||||
|
background-color: #eba0ac;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification-background .close-button:active {
|
||||||
|
background-color: #f5c2e7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification .notification-action {
|
||||||
|
border-radius: 7px;
|
||||||
|
color: #cdd6f4;
|
||||||
|
box-shadow: inset 0 0 0 1px #45475a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 8px;
|
||||||
|
font-size: 0.2rem; /* controls the button size not text size*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification .notification-action {
|
||||||
|
background-color: #313244;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification .notification-action:hover {
|
||||||
|
background-color: #45475a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification .notification-action:active {
|
||||||
|
background-color: #585b70;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification.critical progress {
|
||||||
|
background-color: #f38ba8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification.low progress,
|
||||||
|
.notification.normal progress {
|
||||||
|
background-color: #89b4fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification progress,
|
||||||
|
.notification trough,
|
||||||
|
.notification progressbar {
|
||||||
|
border-radius: 12.6px;
|
||||||
|
padding: 3px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* control center */
|
||||||
|
.control-center {
|
||||||
|
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.8), inset 0 0 0 1px #313244;
|
||||||
|
border-radius: 12.6px;
|
||||||
|
background-color: #1e1e2e;
|
||||||
|
color: #cdd6f4;
|
||||||
|
padding: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-center .notification-background {
|
||||||
|
border-radius: 7px;
|
||||||
|
box-shadow: inset 0 0 0 1px #45475a;
|
||||||
|
margin: 4px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-center .notification-background .notification {
|
||||||
|
border-radius: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-center .notification-background .notification.low {
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-center .widget-title > label {
|
||||||
|
color: #cdd6f4;
|
||||||
|
font-size: 1.3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-center .widget-title button {
|
||||||
|
border-radius: 7px;
|
||||||
|
color: #cdd6f4;
|
||||||
|
background-color: #313244;
|
||||||
|
box-shadow: inset 0 0 0 1px #45475a;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-center .widget-title button:hover {
|
||||||
|
background-color: #45475a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-center .widget-title button:active {
|
||||||
|
background-color: #585b70;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-center .notification-group {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
scrollbar slider {
|
||||||
|
margin: -3px;
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
|
||||||
|
scrollbar trough {
|
||||||
|
margin: 2px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* dnd */
|
||||||
|
.widget-dnd {
|
||||||
|
margin-top: 5px;
|
||||||
|
border-radius: 8px;
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-dnd > switch {
|
||||||
|
font-size: initial;
|
||||||
|
border-radius: 8px;
|
||||||
|
background: #313244;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-dnd > switch:checked {
|
||||||
|
background: #89b4fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-dnd > switch slider {
|
||||||
|
background: #45475a;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* mpris */
|
||||||
|
.widget-mpris-player {
|
||||||
|
background: #313244;
|
||||||
|
border-radius: 12.6px;
|
||||||
|
color: #cdd6f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mpris-overlay {
|
||||||
|
background-color: #313244;
|
||||||
|
opacity: 0.9;
|
||||||
|
padding: 15px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-mpris-album-art {
|
||||||
|
-gtk-icon-size: 100px;
|
||||||
|
border-radius: 12.6px;
|
||||||
|
margin: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-mpris-title {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
color: #cdd6f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-mpris-subtitle {
|
||||||
|
font-size: 1rem;
|
||||||
|
color: #bac2de;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-mpris button {
|
||||||
|
border-radius: 12.6px;
|
||||||
|
color: #cdd6f4;
|
||||||
|
margin: 0 5px;
|
||||||
|
padding: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-mpris button image {
|
||||||
|
-gtk-icon-size: 1.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-mpris button:hover {
|
||||||
|
background-color: #313244;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-mpris button:active {
|
||||||
|
background-color: #45475a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-mpris button:disabled {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-menubar > box > .menu-button-bar > button > label {
|
||||||
|
font-size: 3rem;
|
||||||
|
padding: 0.5rem 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-menubar > box > .menu-button-bar > :last-child {
|
||||||
|
color: #f38ba8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.power-buttons button:hover,
|
||||||
|
.powermode-buttons button:hover,
|
||||||
|
.screenshot-buttons button:hover {
|
||||||
|
background: #313244;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-center .widget-label > label {
|
||||||
|
color: #cdd6f4;
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-buttons-grid {
|
||||||
|
padding-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-buttons-grid > flowbox > flowboxchild > button label {
|
||||||
|
font-size: 2.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-volume {
|
||||||
|
padding: 1rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-volume label {
|
||||||
|
color: #74c7ec;
|
||||||
|
padding: 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-volume trough highlight {
|
||||||
|
background: #74c7ec;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-backlight trough highlight {
|
||||||
|
background: #f9e2af;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-backlight label {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
color: #f9e2af;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-backlight .KB {
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.image {
|
||||||
|
padding-right: 0.5rem;
|
||||||
|
}
|
||||||
|
|
@ -1,60 +0,0 @@
|
||||||
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
|
||||||
# Copyright (C) 2018 Donovan Glover
|
|
||||||
|
|
||||||
# NOTE: This file is automatically generated by pywal. Do not edit it by hand.
|
|
||||||
|
|
||||||
[global]
|
|
||||||
# Make the width 3740 (3840 - 100), have 50 left margin and 95 above
|
|
||||||
# geometry = "3740x5-50+95"
|
|
||||||
offset = 3x20
|
|
||||||
|
|
||||||
# Show multiple notifications in the same box
|
|
||||||
separator_height = 0
|
|
||||||
|
|
||||||
# Add vertical padding to the inside of the notification
|
|
||||||
padding = 8
|
|
||||||
|
|
||||||
# Add horizontal padding for when the text gets long enough
|
|
||||||
horizontal_padding = 8
|
|
||||||
|
|
||||||
# The frame color and width of the notification
|
|
||||||
frame_color = "{color6}"
|
|
||||||
frame_width = 2
|
|
||||||
|
|
||||||
# How long a user needs to be idle for sticky notifications
|
|
||||||
idle_threshold = 120
|
|
||||||
|
|
||||||
# Font and typography settings
|
|
||||||
font = JetBrainsMono Nerd Font 10
|
|
||||||
alignment = left
|
|
||||||
word_wrap = yes
|
|
||||||
|
|
||||||
# Format for how notifications will be displayed
|
|
||||||
# Usage: `notify-send 'Title' 'Summary'`
|
|
||||||
format = "<b>%s</b>\n%b"
|
|
||||||
|
|
||||||
# Allow some HTML tags like <i> and <u> in notifications
|
|
||||||
markup = full
|
|
||||||
max_icon_size = 120
|
|
||||||
transparency = 5
|
|
||||||
|
|
||||||
# These are the keybindings used to control dunst notifications
|
|
||||||
[shortcuts]
|
|
||||||
close = ctrl+space
|
|
||||||
close_all = ctrl+shift+space
|
|
||||||
history = ctrl+grave
|
|
||||||
|
|
||||||
# Set the background and foreground (text) color for all notifications
|
|
||||||
[urgency_low]
|
|
||||||
background = "{background}"
|
|
||||||
foreground = "{foreground}"
|
|
||||||
|
|
||||||
[urgency_normal]
|
|
||||||
background = "{background}"
|
|
||||||
foreground = "{foreground}"
|
|
||||||
|
|
||||||
[urgency_critical]
|
|
||||||
background = "{background}"
|
|
||||||
foreground = "{foreground}"
|
|
||||||
|
|
||||||
# vim:ft=cfg
|
|
||||||
|
|
@ -0,0 +1,157 @@
|
||||||
|
{
|
||||||
|
// "layer": "top", // Waybar at top layer
|
||||||
|
"position": "top", // Waybar position (top|bottom|left|right)
|
||||||
|
"height": 0, // Waybar height (to be removed for auto height)
|
||||||
|
"width": 0, // Waybar width (0 == auto)
|
||||||
|
"spacing": 0, // Gaps between modules
|
||||||
|
// "output": ["HDMI-A-1", "DP-2", "eDP-1"],
|
||||||
|
// Choose the order of the modules
|
||||||
|
"modules-left": [
|
||||||
|
"hyprland/workspaces"
|
||||||
|
// "hyprland/window",
|
||||||
|
],
|
||||||
|
"modules-center" : [
|
||||||
|
"hyprland/window"
|
||||||
|
],
|
||||||
|
"modules-right": [
|
||||||
|
"custom/gpumode",
|
||||||
|
"tray",
|
||||||
|
"pulseaudio",
|
||||||
|
"battery",
|
||||||
|
"backlight",
|
||||||
|
"cpu",
|
||||||
|
"memory",
|
||||||
|
// "network",
|
||||||
|
"custom/date",
|
||||||
|
"clock",
|
||||||
|
],
|
||||||
|
// Modules configuration
|
||||||
|
"hyprland/workspaces": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"1": "",
|
||||||
|
"2": "",
|
||||||
|
"3": "",
|
||||||
|
"4": "",
|
||||||
|
"5": "",
|
||||||
|
"6": "",
|
||||||
|
"7": "",
|
||||||
|
"8": "",
|
||||||
|
"9": "",
|
||||||
|
"10": "",
|
||||||
|
"11": "",
|
||||||
|
"12": "",
|
||||||
|
"13": "",
|
||||||
|
"14": "",
|
||||||
|
"15": "",
|
||||||
|
"16": "",
|
||||||
|
"17": "",
|
||||||
|
"18": "",
|
||||||
|
"19": "",
|
||||||
|
"20": "",
|
||||||
|
"urgent": "",
|
||||||
|
// "active": "", // focused workspace on current monitor
|
||||||
|
// "visible": "", // focused workspace on other monitors
|
||||||
|
// "default": "",
|
||||||
|
// "default": "", // focused workspace on current monitor
|
||||||
|
// "empty": "" // persistent
|
||||||
|
},
|
||||||
|
"on-scroll-up": "hyprctl dispatch workspace r-1",
|
||||||
|
"on-scroll-down": "hyprctl dispatch workspace r+1",
|
||||||
|
"all-outputs": false,
|
||||||
|
"show-special": false
|
||||||
|
},
|
||||||
|
"hyprland/window": {
|
||||||
|
"format": " {}",
|
||||||
|
"max-length": 50
|
||||||
|
},
|
||||||
|
"tray": {
|
||||||
|
"icon-size": 13,
|
||||||
|
"spacing": 10
|
||||||
|
},
|
||||||
|
"clock": {
|
||||||
|
"timezone": "Asia/Kolkata",
|
||||||
|
"tooltip-format": "<tt><big>{calendar}</big></tt>",
|
||||||
|
"format": " {:%H:%M}",
|
||||||
|
"interval": 5
|
||||||
|
},
|
||||||
|
"custom/date": {
|
||||||
|
"timezone": "Asia/Kolkata",
|
||||||
|
"exec": "date +'%a %d %b %Y'",
|
||||||
|
"format": " {}",
|
||||||
|
"interval": 1,
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"custom/gpumode": {
|
||||||
|
"exec": "~/.config/waybar/scripts/gpu_mode.sh",
|
||||||
|
"format": "{}",
|
||||||
|
"interval": "once",
|
||||||
|
"on-click": "~/.config/waybar/scripts/envyswitch.sh",
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"format": " {usage:2}%",
|
||||||
|
"interval": 1,
|
||||||
|
"on-click": "$TERMINAL -e htop",
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"format": " {used:0.1f}G",
|
||||||
|
"interval": 1,
|
||||||
|
"on-click": "$TERMINAL -e htop",
|
||||||
|
},
|
||||||
|
"network": {
|
||||||
|
"interval": 5,
|
||||||
|
"format-wifi": " {essid} ({signalStrength}%)", // Icon: wifi
|
||||||
|
"format-ethernet": " {ifname}: {ipaddr}/{cidr}", // Icon: ethernet
|
||||||
|
"format-disconnected": "⚠ Disconnected",
|
||||||
|
"tooltip-format": "{ifname}: {ipaddr}"
|
||||||
|
},
|
||||||
|
"battery": {
|
||||||
|
"states": {
|
||||||
|
"good": 90,
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
},
|
||||||
|
"format": "{icon} {capacity:3}%",
|
||||||
|
"format-charging": " {capacity:3}%",
|
||||||
|
"format-plugged": " {capacity:3}%",
|
||||||
|
"format-alt": "{icon} ",
|
||||||
|
"format-good": "{icon} {capacity:3}%",
|
||||||
|
"format-full": "{icon} {capacity:3}%",
|
||||||
|
"format-icons": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"backlight": {
|
||||||
|
// "device": "intel_backlight",
|
||||||
|
"format": "{icon} {percent}%",
|
||||||
|
"format-icons": ["", "", ""],
|
||||||
|
"on-scroll-up": "brightnessctl set 1%+",
|
||||||
|
"on-scroll-down": "brightnessctl set 1%-",
|
||||||
|
"min-length": 6
|
||||||
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
"scroll-step": 1, // %, can be a float
|
||||||
|
"format": "{volume:2}% {icon} {format_source}",
|
||||||
|
"format-muted": "{volume:2}% {format_source}",
|
||||||
|
"format-bluetooth": "{volume:2}% {icon} {format_source}",
|
||||||
|
"format-source": "",
|
||||||
|
"format-source-muted": "",
|
||||||
|
"format-icons": {
|
||||||
|
"analog": "",
|
||||||
|
"hdmi": "",
|
||||||
|
"headphone": "",
|
||||||
|
"headset": "",
|
||||||
|
"default": [
|
||||||
|
"", // 0 - 25
|
||||||
|
"", // 25 - 50
|
||||||
|
"", // 50 - 75
|
||||||
|
"" // 75 - 100
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"on-click": "pavucontrol",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/env bash
|
||||||
|
|
||||||
|
mode="$(printf "Integrated\nHybrid\nNvidia" | rofi -dmenu -case-smart -matching "fuzzy" -p "Select the graphics mode:")"
|
||||||
|
|
||||||
|
# Exit if no selection was made
|
||||||
|
[ -z "$mode" ] && exit 1
|
||||||
|
|
||||||
|
notify-send "Switching to $mode mode..."
|
||||||
|
|
||||||
|
# Map mode to envycontrol argument
|
||||||
|
arg=$(echo "$mode" | tr '[:upper:]' '[:lower:]')
|
||||||
|
|
||||||
|
if sudo -A envycontrol -s "$arg"; then
|
||||||
|
notify-send "Graphics mode set to $mode"
|
||||||
|
else
|
||||||
|
notify-send "Failed to set graphics mode to $mode"
|
||||||
|
fi
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/bash
|
||||||
|
mode=$(envycontrol -q | awk '{print $NF}')
|
||||||
|
|
||||||
|
case "$mode" in
|
||||||
|
integrated)
|
||||||
|
icon=""
|
||||||
|
;;
|
||||||
|
hybrid)
|
||||||
|
icon=""
|
||||||
|
;;
|
||||||
|
nvidia)
|
||||||
|
icon=""
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
icon=""
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
echo "$icon $mode"
|
||||||
|
|
@ -0,0 +1,272 @@
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* Catppuccin Mocha palette
|
||||||
|
* Maintainer: rubyowo
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@define-color base #1e1e2e;
|
||||||
|
@define-color mantle #181825;
|
||||||
|
@define-color crust #11111b;
|
||||||
|
|
||||||
|
@define-color text #cdd6f4;
|
||||||
|
@define-color subtext0 #a6adc8;
|
||||||
|
@define-color subtext1 #bac2de;
|
||||||
|
|
||||||
|
@define-color surface0 #313244;
|
||||||
|
@define-color surface1 #45475a;
|
||||||
|
@define-color surface2 #585b70;
|
||||||
|
|
||||||
|
@define-color overlay0 #6c7086;
|
||||||
|
@define-color overlay1 #7f849c;
|
||||||
|
@define-color overlay2 #9399b2;
|
||||||
|
|
||||||
|
@define-color blue #89b4fa;
|
||||||
|
@define-color lavender #b4befe;
|
||||||
|
@define-color sapphire #74c7ec;
|
||||||
|
@define-color sky #89dceb;
|
||||||
|
@define-color teal #94e2d5;
|
||||||
|
@define-color green #a6e3a1;
|
||||||
|
@define-color yellow #f9e2af;
|
||||||
|
@define-color peach #fab387;
|
||||||
|
@define-color maroon #eba0ac;
|
||||||
|
@define-color red #f38ba8;
|
||||||
|
@define-color mauve #cba6f7;
|
||||||
|
@define-color pink #f5c2e7;
|
||||||
|
@define-color flamingo #f2cdcd;
|
||||||
|
@define-color rosewater #f5e0dc;
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-family: "Fira Code", "FontAwesome";
|
||||||
|
font-weight: bold;
|
||||||
|
min-height: 0;
|
||||||
|
/* set font-size to 100% if font scaling is set to 1.00 using nwg-look */
|
||||||
|
font-size: 97%;
|
||||||
|
font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
|
||||||
|
padding: 0.03125rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
transition-property: background-color;
|
||||||
|
transition-duration: 0.5s;
|
||||||
|
background: transparent;
|
||||||
|
/*border: 2px solid @overlay0;*/
|
||||||
|
/*background: @theme_base_color;*/
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar.hidden {
|
||||||
|
opacity: 0.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#waybar.empty #window {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**************/
|
||||||
|
/* Workspaces */
|
||||||
|
/**************/
|
||||||
|
|
||||||
|
#workspaces {
|
||||||
|
/* border-radius: 8px; */
|
||||||
|
padding: 0 3px 0 8px;
|
||||||
|
margin: 5px 5px 5px 0;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* non-empty workspaces */
|
||||||
|
#workspaces button {
|
||||||
|
background-color: @base;
|
||||||
|
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
|
||||||
|
color: @text;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
text-shadow: none;
|
||||||
|
|
||||||
|
/* center the icon, no clue why this is necessary */
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 10px;
|
||||||
|
padding-top: 1px;
|
||||||
|
|
||||||
|
box-shadow: inset 0 -1px #e3e3e3;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* the first and last buttons should be rounded */
|
||||||
|
#workspaces button:first-child {
|
||||||
|
border-top-left-radius: 8px;
|
||||||
|
border-bottom-left-radius: 8px;
|
||||||
|
}
|
||||||
|
#workspaces button:last-child {
|
||||||
|
border-top-right-radius: 8px;
|
||||||
|
border-bottom-right-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* empty persistent workspaces */
|
||||||
|
#workspaces button.empty {
|
||||||
|
background-color: @base;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
/* transition-duration: .3s; */
|
||||||
|
color: @base;
|
||||||
|
background-color: #7da6ff;
|
||||||
|
box-shadow: inset 0 -1px #ffffff;
|
||||||
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||||
|
text-shadow: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* non-empty persistent workspaces */
|
||||||
|
#workspaces button.persistent {
|
||||||
|
background-color: #4c566a;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* active or visible workspaces */
|
||||||
|
#workspaces button.active,
|
||||||
|
#workspaces button.visible {
|
||||||
|
/* background-color: #4c566a; */
|
||||||
|
color: @surface0;
|
||||||
|
background-color: #7da6ff;
|
||||||
|
/* box-shadow: inset 0 -4px #eceff4; */
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.urgent {
|
||||||
|
color: #bf616a;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**************/
|
||||||
|
|
||||||
|
#mode {
|
||||||
|
background-color: #64727D;
|
||||||
|
border-bottom: 3px solid #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock,
|
||||||
|
#custom-date,
|
||||||
|
#custom-gpumode,
|
||||||
|
#battery,
|
||||||
|
#backlight,
|
||||||
|
#cpu,
|
||||||
|
#memory,
|
||||||
|
#disk,
|
||||||
|
#temperature,
|
||||||
|
#network,
|
||||||
|
#pulseaudio,
|
||||||
|
#wireplumber,
|
||||||
|
#mpris,
|
||||||
|
#custom-media,
|
||||||
|
#tray,
|
||||||
|
#window,
|
||||||
|
#custom-notification,
|
||||||
|
#mpd {
|
||||||
|
background-color: @base;
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 0 12px 0 12px;
|
||||||
|
margin: 5px 5px 5px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If workspaces is the leftmost module, omit left margin */
|
||||||
|
.modules-left>widget:first-child>#workspaces {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If workspaces is the rightmost module, omit right margin */
|
||||||
|
.modules-right>widget:last-child>#workspaces {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#window {
|
||||||
|
color: @text
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
color: #eceff4;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-date {
|
||||||
|
color: #b48ead;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery {
|
||||||
|
color: #ebcb8b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#backlight {
|
||||||
|
color: @teal
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes blink {
|
||||||
|
to {
|
||||||
|
background-color: #ffffff;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.critical:not(.charging) {
|
||||||
|
background-color: #bf616a;
|
||||||
|
color: #ffffff;
|
||||||
|
animation-name: blink;
|
||||||
|
animation-duration: 0.5s;
|
||||||
|
animation-timing-function: linear;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
animation-direction: alternate;
|
||||||
|
}
|
||||||
|
|
||||||
|
label:focus {
|
||||||
|
background-color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cpu {
|
||||||
|
color: #bf616a;
|
||||||
|
}
|
||||||
|
|
||||||
|
#memory {
|
||||||
|
color: #a3be8c;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* #disk {
|
||||||
|
background-color: #964B00;
|
||||||
|
} */
|
||||||
|
|
||||||
|
#network {
|
||||||
|
color: #5e81ac;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network.disconnected {
|
||||||
|
color: #81a1c1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network.linked {
|
||||||
|
color: #bf616a;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio {
|
||||||
|
color: @text;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#temperature {
|
||||||
|
color: #d08770;
|
||||||
|
}
|
||||||
|
|
||||||
|
#temperature.critical {
|
||||||
|
color: #bf616a;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray {
|
||||||
|
color: @subtext0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray>.passive {
|
||||||
|
-gtk-icon-effect: dim;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray>.needs-attention {
|
||||||
|
-gtk-icon-effect: highlight;
|
||||||
|
background-color: #bf616a;
|
||||||
|
}
|
||||||
|
|
@ -1,23 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
#setwall &
|
|
||||||
|
|
||||||
if [ $(envycontrol -q) = "nvidia" ]; then
|
|
||||||
xrandr --setprovideroutputsource modesetting NVIDIA-0
|
|
||||||
xrandr --auto
|
|
||||||
xrandr --dpi 96
|
|
||||||
fi
|
|
||||||
|
|
||||||
# xwallpaper --zoom ~/.local/share/wallpaper3.jpg
|
|
||||||
# xwallpaper --zoom $(find .local/share/wallpapers -type f | shuf -n 1)
|
|
||||||
xwallpaper --zoom $(find pix/wallpapers -type f | grep "jpg" | shuf -n 1)
|
|
||||||
xcompmgr &
|
|
||||||
xset r rate 300 50
|
|
||||||
xrandr -r 60.00
|
|
||||||
unclutter &
|
|
||||||
dwmblocks &
|
|
||||||
dunst &
|
|
||||||
backlight_control 20 &
|
|
||||||
redshift &
|
|
||||||
# exec dwm > /dev/null 2>&1
|
|
||||||
while type dwm > /dev/null ; do dwm && continue || break ; done
|
|
||||||
|
|
@ -14,23 +14,40 @@ map i recolor
|
||||||
map p print
|
map p print
|
||||||
map b toggle_statusbar
|
map b toggle_statusbar
|
||||||
|
|
||||||
set default-bg "#222222"
|
set default-fg rgba(205,214,244,1)
|
||||||
set default-fg "#e5e8ea"
|
set default-bg rgba(30,30,46,1)
|
||||||
set statusbar-bg "#224488"
|
|
||||||
set statusbar-fg "#e5e8ea"
|
set completion-bg rgba(49,50,68,1)
|
||||||
set inputbar-bg "#224488"
|
set completion-fg rgba(205,214,244,1)
|
||||||
set inputbar-fg "#e5e8ea"
|
set completion-highlight-bg rgba(203,166,247,1)
|
||||||
set notification-bg "#224488"
|
set completion-highlight-fg rgba(30,30,46,1)
|
||||||
set notification-fg "#e5e8ea"
|
set completion-group-bg rgba(24,24,37,1)
|
||||||
set notification-error-bg "#224488"
|
set completion-group-fg rgba(205,214,244,1)
|
||||||
set notification-error-fg "#e5e8ea"
|
|
||||||
set notification-warning-bg "#224488"
|
set statusbar-fg rgba(205,214,244,1)
|
||||||
set notification-warning-fg "#e5e8ea"
|
set statusbar-bg rgba(17,17,27,1)
|
||||||
set highlight-color "#ff0000"
|
set inputbar-fg rgba(205,214,244,1)
|
||||||
set highlight-active-color "#0000ee"
|
set inputbar-bg rgba(30,30,46,1)
|
||||||
set completion-bg "#ff0000"
|
|
||||||
set completion-fg "#0000ee"
|
set notification-bg rgba(30,30,46,1)
|
||||||
set completion-highlight-bg "#ff0000"
|
set notification-fg rgba(205,214,244,1)
|
||||||
set completion-highlight-fg "#0000ee"
|
set notification-error-bg rgba(30,30,46,1)
|
||||||
set recolor-lightcolor "#000000"
|
set notification-error-fg rgba(243,139,168,1)
|
||||||
set recolor-darkcolor "#e5e8ea"
|
set notification-warning-bg rgba(30,30,46,1)
|
||||||
|
set notification-warning-fg rgba(249,226,175,1)
|
||||||
|
|
||||||
|
# set recolor "true"
|
||||||
|
set recolor-lightcolor rgba(30,30,46,1)
|
||||||
|
set recolor-darkcolor rgba(205,214,244,1)
|
||||||
|
|
||||||
|
set index-fg rgba(205,214,244,1)
|
||||||
|
set index-bg rgba(30,30,46,1)
|
||||||
|
set index-active-fg rgba(205,214,244,1)
|
||||||
|
set index-active-bg rgba(49,50,68,1)
|
||||||
|
|
||||||
|
set render-loading-bg rgba(30,30,46,1)
|
||||||
|
set render-loading-fg rgba(205,214,244,1)
|
||||||
|
|
||||||
|
set highlight-color rgba(147,153,178,0.3)
|
||||||
|
set highlight-fg rgba(205,214,244,1)
|
||||||
|
set highlight-active-color rgba(203,166,247,0.3)
|
||||||
|
|
|
||||||
|
|
@ -67,5 +67,3 @@ bindkey '^R' history-incremental-pattern-search-backward
|
||||||
#loeading syntax highlighter and autosgguestions plugin. should be last.
|
#loeading syntax highlighter and autosgguestions plugin. should be last.
|
||||||
source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh 2>/dev/null
|
source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh 2>/dev/null
|
||||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
|
|
||||||
cowsay "$(shuf -n 1 ~/.local/share/vocab/words.txt)"
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1,6 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# This script is the SUDO_ASKPASS variable, meaning that it will be used as a
|
|
||||||
# password prompt if needed.
|
|
||||||
|
|
||||||
dmenu -P -p "$1" <&- && echo
|
|
||||||
|
|
@ -1,123 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Usage:
|
|
||||||
# `$0`: Ask for recording type via dmenu
|
|
||||||
# `$0 screencast`: Record both audio and screen
|
|
||||||
# `$0 video`: Record only screen
|
|
||||||
# `$0 audio`: Record only audio
|
|
||||||
# `$0 kill`: Kill existing recording
|
|
||||||
#
|
|
||||||
# If there is already a running instance, user will be prompted to end it.
|
|
||||||
|
|
||||||
getdim() { xrandr | grep -oP '(?<=current ).*(?=,)' | tr -d ' ' ;}
|
|
||||||
|
|
||||||
updateicon() { \
|
|
||||||
echo "$1" > /tmp/recordingicon
|
|
||||||
pkill -RTMIN+9 "${STATUSBAR:-dwmblocks}"
|
|
||||||
}
|
|
||||||
|
|
||||||
killrecording() {
|
|
||||||
recpid="$(cat /tmp/recordingpid)"
|
|
||||||
kill -15 "$recpid"
|
|
||||||
rm -f /tmp/recordingpid
|
|
||||||
updateicon ""
|
|
||||||
pkill -RTMIN+9 "${STATUSBAR:-dwmblocks}"
|
|
||||||
}
|
|
||||||
|
|
||||||
screencast() { \
|
|
||||||
ffmpeg -y \
|
|
||||||
-f x11grab \
|
|
||||||
-framerate 30 \
|
|
||||||
-s "$(getdim)" \
|
|
||||||
-i "$DISPLAY" \
|
|
||||||
-r 24 \
|
|
||||||
-use_wallclock_as_timestamps 1 \
|
|
||||||
-f alsa -thread_queue_size 1024 -i default \
|
|
||||||
-c:v h264 \
|
|
||||||
-crf 0 -preset ultrafast -c:a aac \
|
|
||||||
"$HOME/screencast-$(date '+%y%m%d-%H%M-%S').mp4" &
|
|
||||||
echo $! > /tmp/recordingpid
|
|
||||||
updateicon "⏺️🎙️"
|
|
||||||
}
|
|
||||||
|
|
||||||
video() { ffmpeg \
|
|
||||||
-f x11grab \
|
|
||||||
-framerate 30 \
|
|
||||||
-s "$(getdim)" \
|
|
||||||
-i "$DISPLAY" \
|
|
||||||
-c:v libx264 -qp 0 -r 30 \
|
|
||||||
"$HOME/video-$(date '+%y%m%d-%H%M-%S').mkv" &
|
|
||||||
echo $! > /tmp/recordingpid
|
|
||||||
updateicon "⏺️"
|
|
||||||
}
|
|
||||||
|
|
||||||
webcamhidef() { ffmpeg \
|
|
||||||
-f v4l2 \
|
|
||||||
-i /dev/video0 \
|
|
||||||
-video_size 1920x1080 \
|
|
||||||
"$HOME/webcam-$(date '+%y%m%d-%H%M-%S').mkv" &
|
|
||||||
echo $! > /tmp/recordingpid
|
|
||||||
updateicon "🎥"
|
|
||||||
}
|
|
||||||
|
|
||||||
webcam() { ffmpeg \
|
|
||||||
-f v4l2 \
|
|
||||||
-i /dev/video0 \
|
|
||||||
-video_size 640x480 \
|
|
||||||
"$HOME/webcam-$(date '+%y%m%d-%H%M-%S').mkv" &
|
|
||||||
echo $! > /tmp/recordingpid
|
|
||||||
updateicon "🎥"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
audio() { \
|
|
||||||
ffmpeg \
|
|
||||||
-f alsa -i default \
|
|
||||||
-c:a flac \
|
|
||||||
"$HOME/audio-$(date '+%y%m%d-%H%M-%S').flac" &
|
|
||||||
echo $! > /tmp/recordingpid
|
|
||||||
updateicon "🎙️"
|
|
||||||
}
|
|
||||||
|
|
||||||
askrecording() { \
|
|
||||||
choice=$(printf "screencast\\nvideo\\nvideo selected\\naudio\\nwebcam\\nwebcam (hi-def)" | dmenu -i -p "Select recording style:")
|
|
||||||
case "$choice" in
|
|
||||||
screencast) screencast;;
|
|
||||||
audio) audio;;
|
|
||||||
video) video;;
|
|
||||||
*selected) videoselected;;
|
|
||||||
webcam) webcam;;
|
|
||||||
"webcam (hi-def)") webcamhidef;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
asktoend() { \
|
|
||||||
response=$(printf "No\\nYes" | dmenu -i -p "Recording still active. End recording?") &&
|
|
||||||
[ "$response" = "Yes" ] && killrecording
|
|
||||||
}
|
|
||||||
|
|
||||||
videoselected()
|
|
||||||
{
|
|
||||||
slop -f "%x %y %w %h" > /tmp/slop
|
|
||||||
read -r X Y W H < /tmp/slop
|
|
||||||
rm /tmp/slop
|
|
||||||
|
|
||||||
ffmpeg \
|
|
||||||
-f x11grab \
|
|
||||||
-framerate 30 \
|
|
||||||
-video_size "$W"x"$H" \
|
|
||||||
-i :0.0+"$X,$Y" \
|
|
||||||
-c:v libx264 -qp 0 -r 30 \
|
|
||||||
"$HOME/box-$(date '+%y%m%d-%H%M-%S').mkv" &
|
|
||||||
echo $! > /tmp/recordingpid
|
|
||||||
updateicon "⏺️"
|
|
||||||
}
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
screencast) screencast;;
|
|
||||||
audio) audio;;
|
|
||||||
video) video;;
|
|
||||||
*selected) videoselected;;
|
|
||||||
kill) killrecording;;
|
|
||||||
*) ([ -f /tmp/recordingpid ] && asktoend && exit) || askrecording;;
|
|
||||||
esac
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Dependencies:
|
|
||||||
# convert wal xdotool xwallpaper
|
|
||||||
|
|
||||||
wall_dir=~/pix/wall
|
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
|
||||||
wall="$(find "$wall_dir" -type f -name "*.jpg" -o -name "*.png" | shuf -n1)"
|
|
||||||
else
|
|
||||||
wall="$1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
convert "$wall" ~/.local/share/bg.jpg
|
|
||||||
xwallpaper --zoom ~/.local/share/bg.jpg
|
|
||||||
wal -c
|
|
||||||
wal -i ~/.local/share/bg.jpg
|
|
||||||
xdotool key super+F5
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
#!/bin/env bash
|
|
||||||
|
|
||||||
# Script to run simple .java files.
|
|
||||||
# because its annoying to have .class files clutter your working directory;
|
|
||||||
|
|
||||||
if [ -z $* ]; then
|
|
||||||
echo "usage: jrun <filename>"
|
|
||||||
else
|
|
||||||
filename="${1%.*}"
|
|
||||||
\cp -f "$1" /tmp/"$1"
|
|
||||||
javac -d /tmp "$1"
|
|
||||||
java -cp /tmp "$filename"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
@ -14,7 +14,7 @@ madd() {
|
||||||
if [ -t 0 ]; then
|
if [ -t 0 ]; then
|
||||||
filename=$(mpc listall | fzf)
|
filename=$(mpc listall | fzf)
|
||||||
else
|
else
|
||||||
filename=$(mpc listall | dmenu -l 30)
|
filename=$(mpc listall | rofi -dmenu -l 30 -case-smart)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$filename" ]; then
|
if [ -n "$filename" ]; then
|
||||||
|
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
ocr_cmd="xclip -sel clip"
|
|
||||||
|
|
||||||
case "$(printf "a selected area (copy)\\ncurrent window (copy)\\nfull screen (copy)\\na selected area\\ncurrent window\\nfull screen\\na selected area (OCR)" | dmenu -l 7 -i -p "Screenshot which area?")" in
|
|
||||||
"a selected area (copy)") maim -u -s | xclip -selection clipboard -t image/png ;;
|
|
||||||
"current window (copy)") maim -i "$(xdotool getactivewindow)" | xclip -selection clipboard -t image/png ;;
|
|
||||||
"full screen (copy)") sleep 0.2 ; maim | xclip -selection clipboard -t image/png ;;
|
|
||||||
"a selected area") maim -u -s ~/pix/ss/pic-selected-$(uuidgen | awk -F- '{printf $2}')-"$(date '+%y-%m-%d').png" ;;
|
|
||||||
"current window") maim -i "$(xdotool getactivewindow)" ~/pix/ss/pic-window-"$(uuidgen | awk -F- '{printf $2}')-$(date '+%y-%m-%d').png" ;;
|
|
||||||
"full screen") sleep 0.2 ; maim ~/pix/ss/pic-full-"$(uuidgen | awk -F- '{printf $2}')-$(date '+%y-%m-%d').png" ;;
|
|
||||||
"a selected area (OCR)") tmpfile=$(mktemp /tmp/ocr-XXXXXX.png) && maim -u -s > "$tmpfile" && tesseract "$tmpfile" - -l eng | ${ocr_cmd} && rm "$tmpfile" ;;
|
|
||||||
esac
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Gives a dmenu prompt to mount unmounted drives. If
|
# Gives a rofi -dmenu prompt to mount unmounted drives. If
|
||||||
# they're in /etc/fstab, they'll be mounted automatically. Otherwise, you'll
|
# they're in /etc/fstab, they'll be mounted automatically. Otherwise, you'll
|
||||||
# be prompted to give a mountpoint from already existsing directories. If you
|
# be prompted to give a mountpoint from already existsing directories. If you
|
||||||
# input a novel directory, it will prompt you to create that directory.
|
# input a novel directory, it will prompt you to create that directory.
|
||||||
|
|
@ -8,16 +8,16 @@
|
||||||
getmount() { \
|
getmount() { \
|
||||||
[ -z "$chosen" ] && exit 1
|
[ -z "$chosen" ] && exit 1
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
mp="$(find $1 2>/dev/null | dmenu -i -p "Type in mount point.")" || exit 1
|
mp="$(find $1 2>/dev/null | rofi -dmenu -i -p "Type in mount point.")" || exit 1
|
||||||
test -z "$mp" && exit 1
|
test -z "$mp" && exit 1
|
||||||
if [ ! -d "$mp" ]; then
|
if [ ! -d "$mp" ]; then
|
||||||
mkdiryn=$(printf "No\\nYes" | dmenu -i -p "$mp does not exist. Create it?") || exit 1
|
mkdiryn=$(printf "No\\nYes" | rofi -dmenu -i -p "$mp does not exist. Create it?") || exit 1
|
||||||
[ "$mkdiryn" = "Yes" ] && (mkdir -p "$mp" || sudo -A mkdir -p "$mp")
|
[ "$mkdiryn" = "Yes" ] && (mkdir -p "$mp" || sudo -A mkdir -p "$mp")
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
mountusb() { \
|
mountusb() { \
|
||||||
chosen="$(echo "$usbdrives" | dmenu -i -p "Mount which drive?")" || exit 1
|
chosen="$(echo "$usbdrives" | rofi -dmenu -i -p "Mount which drive?")" || exit 1
|
||||||
chosen="$(echo "$chosen" | awk '{print $1}')"
|
chosen="$(echo "$chosen" | awk '{print $1}')"
|
||||||
sudo -A mount "$chosen" 2>/dev/null && notify-send "💻 USB mounting" "$chosen mounted." && exit 0
|
sudo -A mount "$chosen" 2>/dev/null && notify-send "💻 USB mounting" "$chosen mounted." && exit 0
|
||||||
alreadymounted=$(lsblk -nrpo "name,type,mountpoint" | awk '$3!~/\/boot|\/home$|SWAP/&&length($3)>1{printf "-not ( -path *%s -prune ) ",$3}')
|
alreadymounted=$(lsblk -nrpo "name,type,mountpoint" | awk '$3!~/\/boot|\/home$|SWAP/&&length($3)>1{printf "-not ( -path *%s -prune ) ",$3}')
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
if [ -t 0 ]; then
|
if [ -t 0 ]; then
|
||||||
filename="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | fzf)"
|
filename="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | fzf)"
|
||||||
else
|
else
|
||||||
filename="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | dmenu -l 25)"
|
filename="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | rofi -case-smart -matching "fuzzy" -dmenu -l 25)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
filepath="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)")"
|
filepath="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)")"
|
||||||
|
|
|
||||||
|
|
@ -1,68 +0,0 @@
|
||||||
#!/usr/bin/bash
|
|
||||||
|
|
||||||
mkdir -p $HOME/.cache/pirokit
|
|
||||||
|
|
||||||
if [ -z $1 ]; then
|
|
||||||
query=$(echo "" | dmenu -p "Search Torrent: ")
|
|
||||||
else
|
|
||||||
query=$1
|
|
||||||
fi
|
|
||||||
|
|
||||||
baseurl="https://1337x.to"
|
|
||||||
cachedir="$HOME/.cache/pirokit"
|
|
||||||
query="$(sed 's/ /+/g' <<<$query)"
|
|
||||||
|
|
||||||
#curl -s https://1337x.to/category-search/$query/Movies/1/ > $cachedir/tmp.html
|
|
||||||
curl -s https://1337x.to/search/$query/1/ > $cachedir/tmp.html
|
|
||||||
|
|
||||||
# Get Titles
|
|
||||||
grep -o '<a href="/torrent/.*</a>' $cachedir/tmp.html |
|
|
||||||
sed 's/<[^>]*>//g' > $cachedir/titles.bw
|
|
||||||
|
|
||||||
result_count=$(wc -l $cachedir/titles.bw | awk '{print $1}')
|
|
||||||
if [ "$result_count" -lt 1 ]; then
|
|
||||||
notify-send "😔 No Result found. Try again 🔴"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# Seeders and Leechers
|
|
||||||
grep -o '<td class="coll-2 seeds.*</td>\|<td class="coll-3 leeches.*</td>' $cachedir/tmp.html |
|
|
||||||
sed 's/<[^>]*>//g' | sed 'N;s/\n/ /' > $cachedir/seedleech.bw
|
|
||||||
|
|
||||||
# Size
|
|
||||||
grep -o '<td class="coll-4 size.*</td>' $cachedir/tmp.html |
|
|
||||||
sed 's/<span class="seeds">.*<\/span>//g' |
|
|
||||||
sed -e 's/<[^>]*>//g' > $cachedir/size.bw
|
|
||||||
|
|
||||||
# Links
|
|
||||||
grep -E '/torrent/' $cachedir/tmp.html |
|
|
||||||
sed -E 's#.*(/torrent/.*)/">.*/#\1#' |
|
|
||||||
sed 's/td>//g' > $cachedir/links.bw
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Clearning up some data to display
|
|
||||||
sed 's/\./ /g; s/\-/ /g' $cachedir/titles.bw |
|
|
||||||
sed 's/[^A-Za-z0-9 ]//g' | tr -s " " > $cachedir/tmp && mv $cachedir/tmp $cachedir/titles.bw
|
|
||||||
|
|
||||||
awk '{print NR " - ["$0"]"}' $cachedir/size.bw > $cachedir/tmp && mv $cachedir/tmp $cachedir/size.bw
|
|
||||||
awk '{print "[S:"$1 ", L:"$2"]" }' $cachedir/seedleech.bw > $cachedir/tmp && mv $cachedir/tmp $cachedir/seedleech.bw
|
|
||||||
|
|
||||||
# Getting the line number
|
|
||||||
LINE=$(paste -d\ $cachedir/size.bw $cachedir/seedleech.bw $cachedir/titles.bw |
|
|
||||||
dmenu -i -l 25 |
|
|
||||||
cut -d\- -f1 |
|
|
||||||
awk '{$1=$1; print}')
|
|
||||||
|
|
||||||
url=$(head -n $LINE $cachedir/links.bw | tail -n +$LINE)
|
|
||||||
fullURL="${baseurl}${url}/"
|
|
||||||
|
|
||||||
# Requesting page for magnet link
|
|
||||||
curl -s $fullURL > $cachedir/tmp.html
|
|
||||||
magnet=$(grep -Po "magnet:\?xt=urn:btih:[a-zA-Z0-9]*" $cachedir/tmp.html | head -n 1)
|
|
||||||
|
|
||||||
transadd "$magnet"
|
|
||||||
|
|
||||||
# Simple notification
|
|
||||||
notify-send "⬇️ Start downloading File 📁"
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Take password prompt from STDIN, print password to STDOUT
|
||||||
|
# the sed piece just removes the colon from the provided
|
||||||
|
# prompt: rofi -p already gives us a colon
|
||||||
|
rofi -dmenu \
|
||||||
|
-password \
|
||||||
|
-no-fixed-num-lines \
|
||||||
|
-p "$(printf "$1" | sed s/://)"
|
||||||
|
|
@ -3,11 +3,11 @@
|
||||||
# The famous "get a menu of emojis to copy" script.
|
# The famous "get a menu of emojis to copy" script.
|
||||||
|
|
||||||
# Get user selection via dmenu from emoji file.
|
# Get user selection via dmenu from emoji file.
|
||||||
chosen=$(cut -d ';' -f1 ~/.local/share/chars/* | dmenu -i -l 30 | sed "s/ .*//")
|
chosen=$(cut -d ';' -f1 ~/.local/share/chars/* | rofi -dmenu -i -l 30 | sed "s/ .*//")
|
||||||
|
|
||||||
# Exit if none chosen.
|
# Exit if none chosen.
|
||||||
[ -z "$chosen" ] && exit
|
[ -z "$chosen" ] && exit
|
||||||
|
|
||||||
xdotool type "$chosen"
|
wtype "$chosen"
|
||||||
printf "$chosen" | xclip -selection clipboard
|
printf "$chosen" | wl-copy
|
||||||
notify-send "'$chosen' copied to clipboard." &
|
notify-send "'$chosen' copied to clipboard." &
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/env bash
|
|
||||||
|
|
||||||
mode=$(autorandr --current)
|
|
||||||
if [[ $mode = 'hybridnew' ]]; then
|
|
||||||
alacritty --config-file "$XDG_CONFIG_HOME/alacritty/docked.toml" $*
|
|
||||||
else
|
|
||||||
alacritty --config-file "$XDG_CONFIG_HOME/alacritty/normal.toml" $*
|
|
||||||
fi
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
ocr_cmd="wl-copy"
|
||||||
|
|
||||||
|
case "$(printf "a selected area (copy)\ncurrent window (copy)\nfull screen (copy)\na selected area\ncurrent window\nfull screen\na selected area (OCR)" | rofi -dmenu -l 7 -i -p "Screenshot which area?")" in
|
||||||
|
"a selected area (copy)") hyprshot -m region --clipboard-only ;;
|
||||||
|
"current window (copy)") hyprshot -m window --clipboard-only ;;
|
||||||
|
"full screen (copy)") hyprshot -m output --clipboard-only ;;
|
||||||
|
|
||||||
|
"a selected area") hyprshot -m region -o ~/pix/ss -f "pic-selected-$(uuidgen | awk -F- '{printf $2}')-$(date '+%y-%m-%d').png" ;;
|
||||||
|
"current window") hyprshot -m window -o ~/pix/ss -f "pic-window-$(uuidgen | awk -F- '{printf $2}')-$(date '+%y-%m-%d').png" ;;
|
||||||
|
"full screen") hyprshot -m output -o ~/pix/ss -f "pic-full-$(uuidgen | awk -F- '{printf $2}')-$(date '+%y-%m-%d').png" ;;
|
||||||
|
|
||||||
|
"a selected area (OCR)") tmpfile=$(mktemp /tmp/ocr-XXXXXX.png) && \
|
||||||
|
hyprshot -m region -o "$(dirname "$tmpfile")" -f "$(basename "$tmpfile")" && \
|
||||||
|
tesseract "$tmpfile" - -l eng | ${ocr_cmd} && rm "$tmpfile" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
@ -1,5 +1,52 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
xwallpaper --zoom ~/.local/share/bg.jpg
|
WALL_DIR="$HOME/pix/wallpapers/onedarkwallpapers/"
|
||||||
wal -c
|
MODE="random"
|
||||||
wal -i ~/.local/share/bg.jpg
|
CUSTOM_PATH=""
|
||||||
xdotool key super+F5
|
|
||||||
|
# Parse options
|
||||||
|
while getopts ":mp:" opt; do
|
||||||
|
case $opt in
|
||||||
|
m) MODE="menu" ;;
|
||||||
|
p) MODE="path"; CUSTOM_PATH="$OPTARG" ;;
|
||||||
|
\?) echo "Usage: $0 [-m] [-p /path/to/image]" >&2; exit 1 ;;
|
||||||
|
:) echo "Option -$OPTARG requires an argument." >&2; exit 1 ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
# Choose wallpaper
|
||||||
|
case $MODE in
|
||||||
|
random)
|
||||||
|
NEW_WALL=$(find "$WALL_DIR" -type f | shuf -n 1)
|
||||||
|
;;
|
||||||
|
path)
|
||||||
|
if [[ -f "$CUSTOM_PATH" ]]; then
|
||||||
|
NEW_WALL="$CUSTOM_PATH"
|
||||||
|
else
|
||||||
|
echo "Error: File not found -> $CUSTOM_PATH" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
menu)
|
||||||
|
WALLPAPER_LIST=$(find "$WALL_DIR" -type f | sort | sed "s|$WALL_DIR||")
|
||||||
|
CHOSEN=$(echo "$WALLPAPER_LIST" | rofi -dmenu -i -p "Choose wallpaper:")
|
||||||
|
if [[ -z "$CHOSEN" ]]; then
|
||||||
|
NEW_WALL=$(find "$WALL_DIR" -type f | shuf -n 1)
|
||||||
|
else
|
||||||
|
NEW_WALL="$WALL_DIR$CHOSEN"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Apply wallpaper
|
||||||
|
if ! pgrep -x hyprpaper >/dev/null; then
|
||||||
|
# Hyprpaper not running → start with chosen wallpaper
|
||||||
|
cat > ~/.config/hypr/hyprpaper.conf <<EOF
|
||||||
|
preload = $NEW_WALL
|
||||||
|
wallpaper = ,$NEW_WALL
|
||||||
|
EOF
|
||||||
|
hyprpaper &
|
||||||
|
else
|
||||||
|
# Hyprpaper is running → change it live
|
||||||
|
hyprctl hyprpaper preload "$NEW_WALL"
|
||||||
|
hyprctl hyprpaper wallpaper ",$NEW_WALL"
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,37 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Prints all batteries, their percentage remaining and an emoji corresponding
|
|
||||||
# to charge status (🔌 for plugged up, 🔋 for discharging on battery, etc.).
|
|
||||||
|
|
||||||
case $BLOCK_BUTTON in
|
|
||||||
3) notify-send "🔋 Battery module" "🔋: discharging
|
|
||||||
🛑: not charging
|
|
||||||
♻: stagnant charge
|
|
||||||
🔌: charging
|
|
||||||
⚡: charged
|
|
||||||
❗: battery very low!
|
|
||||||
- Scroll to change adjust xbacklight." ;;
|
|
||||||
4) xbacklight -inc 10 ;;
|
|
||||||
5) xbacklight -dec 10 ;;
|
|
||||||
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Loop through all attached batteries and format the info
|
|
||||||
for battery in /sys/class/power_supply/BAT?*; do
|
|
||||||
# If non-first battery, print a space separator.
|
|
||||||
[ -n "${capacity+x}" ] && printf " "
|
|
||||||
# Sets up the status and capacity
|
|
||||||
case "$(cat "$battery/status" 2>&1)" in
|
|
||||||
"Full") status="⚡" ;;
|
|
||||||
"Discharging") status="🔋" ;;
|
|
||||||
"Charging") status="🔌" ;;
|
|
||||||
"Not charging") status="🛑" ;;
|
|
||||||
"Unknown") status="♻️" ;;
|
|
||||||
*) exit 1 ;;
|
|
||||||
esac
|
|
||||||
capacity="$(cat "$battery/capacity" 2>&1)"
|
|
||||||
# Will make a warn variable if discharging and low
|
|
||||||
[ "$status" = "🔋" ] && [ "$capacity" -le 25 ] && warn="❗"
|
|
||||||
# Prints the info
|
|
||||||
printf "[ %s %s%d%% ]" "$status" "$warn" "$capacity"; unset warn
|
|
||||||
done && printf "\\n"
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# date "+[ %a %d %b %Y] [ %I:%M %P ]"
|
|
||||||
date "+[ %a %d %b %Y] [ %R ]"
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# echo "[ $(free --mebi | sed -n '2{p;q}' | awk '{printf ("%2.2fGiB", ( $3 / 1024), ($2 / 1024))}') $(sensors | awk '/Core 0/ {print " " $3}') ]"
|
|
||||||
|
|
||||||
echo "[ $(free -h --si | sed -n "2s/\([^ ]* *\)\{2\}\([^ ]*\).*/\2/p") $(grep -o "^[^ ]*" /proc/loadavg ) ]"
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# This loop will update the mpd statusbar module whenever a command changes the
|
|
||||||
# music player's status. mpd must be running on X's start for this to work.
|
|
||||||
|
|
||||||
while : ; do
|
|
||||||
mpc idle >/dev/null && kill -45 $(pidof dwmblocks) || break
|
|
||||||
done
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
filter() { mpc | sed "/^volume:/d;s/\\&/&/g;s/\\[paused\\].*/⏸/g;/\\[playing\\].*/d;/^ERROR/Q" | paste -sd ' ' -;}
|
|
||||||
|
|
||||||
pidof -x sb-mpdup >/dev/null 2>&1 || sb-mpdup >/dev/null 2>&1 &
|
|
||||||
|
|
||||||
if [ -z "$(filter)" ]; then
|
|
||||||
echo ""
|
|
||||||
else
|
|
||||||
echo "[ $(filter) ]"
|
|
||||||
fi
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
echo "[ $(checkupdates | wc -l) ]"
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
echo [ "$([ "$(pamixer --get-mute)" = "false" ] && printf ' ' || printf ' ')$(pamixer --get-volume)%" ]
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
export WM="dwm"
|
|
||||||
case "$(readlink -f /sbin/init)" in
|
|
||||||
*systemd*) ctl='systemctl' ;;
|
|
||||||
*) ctl='loginctl' ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
wmpid(){ # This function is needed if there are multiple instances of the window manager.
|
|
||||||
tree="$(pstree -ps $$)"
|
|
||||||
tree="${tree#*$WM(}"
|
|
||||||
echo "${tree%%)*}"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
case "$(printf " lock\n leave $WM\n renew $WM\n hibernate\n reboot\n shutdown\n sleep\n display off" | dmenu -i -l 15 -p 'Action: ')" in
|
|
||||||
' lock') slock ;;
|
|
||||||
" leave $WM") kill -TERM "$(wmpid)" ;;
|
|
||||||
" renew $WM") kill -HUP "$(wmpid)" ;;
|
|
||||||
' hibernate') slock $ctl hibernate -i ;;
|
|
||||||
' sleep') slock $ctl suspend -i ;;
|
|
||||||
' reboot') $ctl reboot -i ;;
|
|
||||||
' shutdown') $ctl poweroff -i ;;
|
|
||||||
' display off') xset dpms force off ;;
|
|
||||||
*) exit 1 ;;
|
|
||||||
esac
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# A dmenu prompt to unmount drives.
|
# A rofi -dmenu prompt to unmount drives.
|
||||||
# Provides you with mounted partitions, select one to unmount.
|
# Provides you with mounted partitions, select one to unmount.
|
||||||
# Drives mounted at /, /boot and /home will not be options to unmount.
|
# Drives mounted at /, /boot and /home will not be options to unmount.
|
||||||
|
|
||||||
unmountusb() {
|
unmountusb() {
|
||||||
[ -z "$drives" ] && exit
|
[ -z "$drives" ] && exit
|
||||||
chosen="$(echo "$drives" | dmenu -i -p "Unmount which drive?")" || exit 1
|
chosen="$(echo "$drives" | rofi -dmenu -i -p "Unmount which drive?")" || exit 1
|
||||||
chosen="$(echo "$chosen" | awk '{print $1}')"
|
chosen="$(echo "$chosen" | awk '{print $1}')"
|
||||||
[ -z "$chosen" ] && exit
|
[ -z "$chosen" ] && exit
|
||||||
sudo -A umount "$chosen" && notify-send "💻 USB unmounting" "$chosen unmounted."
|
sudo -A umount "$chosen" && notify-send "💻 USB unmounting" "$chosen unmounted."
|
||||||
|
|
@ -14,9 +14,9 @@ unmountusb() {
|
||||||
|
|
||||||
drives=$(lsblk -nrpo "name,type,size,mountpoint,label" | awk -F':' '{gsub(/ /,":")}$4!~/\/boot|\/efi|\/home$|SWAP/&&length($4)>1{printf "%s (%s) %s\n",$4,$3,$5}')
|
drives=$(lsblk -nrpo "name,type,size,mountpoint,label" | awk -F':' '{gsub(/ /,":")}$4!~/\/boot|\/efi|\/home$|SWAP/&&length($4)>1{printf "%s (%s) %s\n",$4,$3,$5}')
|
||||||
|
|
||||||
if [ -z "$drives" ]; then
|
if [ -z "$drives" ]; then
|
||||||
echo "No drives to unmount." && exit
|
echo "No drives to unmount." && exit
|
||||||
else
|
else
|
||||||
echo "Unmountable USB drive detected."
|
echo "Unmountable USB drive detected."
|
||||||
unmountusb
|
unmountusb
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
#!/bin/env bash
|
|
||||||
|
|
||||||
# word=$(dmenu -p "Enter Word: " <&-)
|
|
||||||
word=$(cat ~/.local/bin/words.txt | dmenu -l 25 -p "Choose Word: ")
|
|
||||||
#$BROWSER https://www.merriam-webster.com/dictionary/$word
|
|
||||||
if [[ -n $word ]]; then
|
|
||||||
$BROWSER "https://www.google.com/search?hl=en&q=define+$word"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
@ -1,152 +0,0 @@
|
||||||
bigot -> a person with very strong beliefs or opinions
|
|
||||||
allocate -> assign
|
|
||||||
territory -> region
|
|
||||||
criteria -> fixed basis to judge
|
|
||||||
keep ones head -> not to get angry
|
|
||||||
triumph -> victory
|
|
||||||
knaves -> dishonest people
|
|
||||||
keep ones virtue -> keep ones goodness or morals under any condition
|
|
||||||
queer -> strange
|
|
||||||
exclusive -> availabe to only one person or group
|
|
||||||
fate -> a power that is believed to control what happens in the future
|
|
||||||
established -> accepted or followed by many people
|
|
||||||
compelled -> forced to do
|
|
||||||
abundant -> existing or occuring in large ammounts
|
|
||||||
bias -> a tendency to believe that some people,idias, etc are better than others usually results in treating some people unfairly
|
|
||||||
desperate -> feeling or showing a hopeless sense taht a situation is so bad as to be impossible to deal with
|
|
||||||
iteration -> the repetition of a process or utterance
|
|
||||||
cope -> deal with something difficult
|
|
||||||
revile -> critisize in an abusive or angrily insulting manner
|
|
||||||
serveillance -> close observation, especially of a suspected spy or criminal
|
|
||||||
negotiate -> obtain or bring about by discussion
|
|
||||||
caveat -> a warning or proviso of specific conditions or limitatations
|
|
||||||
punitive -> inteded as punishment
|
|
||||||
legislation -> laws, considered collectively
|
|
||||||
narcissism -> excessive interest in or admiration of onself and one's physical appearance
|
|
||||||
neoligism -> a newly coined word or expression
|
|
||||||
ideology -> a system of idias, especially one which forms the basis of economic or political theory and policy
|
|
||||||
rebuke -> to criticize sharply
|
|
||||||
bizzare -> odd, extravagant
|
|
||||||
AWOL -> absent without official leave
|
|
||||||
pursue -> follow or chase (someone or something)
|
|
||||||
apologist -> a person who offers an arguement in defence of something controversial.
|
|
||||||
stereotype -> a widely held but fixed and oversimplified image or idea of a particular type of person or thing
|
|
||||||
MIA -> missing in action
|
|
||||||
exodus -> a mass departure of people
|
|
||||||
departure -> the action of leaving, especially to start a journey
|
|
||||||
destiny -> the event that will necessarily happen to a particular person or thing in the future
|
|
||||||
torment -> severe physical or mental suffering
|
|
||||||
inferior -> lower in rank, status, or quality.
|
|
||||||
excerpt -> a short extract from a film, broadcast, or piece of music or writing
|
|
||||||
ambitious -> having or showing a strong desire and determination to succeed
|
|
||||||
innocuous -> not harmful or offensive
|
|
||||||
evacuate -> remove (someone) from a place of danger to a safer place
|
|
||||||
indulge -> allow oneself to enjoy the pleasure of
|
|
||||||
to take for granted -> to value (something or someone) too lightly
|
|
||||||
afaik -> abbreviation for "as far as i know"
|
|
||||||
fatal -> causing death
|
|
||||||
intercept -> obstruct (someone or something) so as to prevent them from continuing to a destination
|
|
||||||
pry -> inquire too closely into a person's private affairs
|
|
||||||
relent -> abondon a sever or harsh attitude, especially by finally yielding to a request
|
|
||||||
fiance -> a man to whom someone is engaged or married
|
|
||||||
credible -> able to be believed; convincing.
|
|
||||||
implode -> collapse or cause to collapse violently inwards.
|
|
||||||
shenanigans -> secret or dishonest activity
|
|
||||||
prelude -> an action or event serving as an introduction to something more important
|
|
||||||
sedative -> promoting calm or inducing sleep
|
|
||||||
induce -> succeed in persuading or loading (someone) to do something
|
|
||||||
immigrant -> a person who comes to live permanently in a foreign country.
|
|
||||||
con -> persuade (someone) to do or believe in something by lying to them.
|
|
||||||
obnoxious -> extremely unpleasant
|
|
||||||
debut -> a person's first appearance or performance in a particular capacity or role
|
|
||||||
convention -> a way in which something is usually done
|
|
||||||
deduct -> subtract or take away (an amount or part) from a total
|
|
||||||
derive -> obtain something from (a specified source)
|
|
||||||
sceptical -> not easily convinced; having doubts or reservations
|
|
||||||
psyched -> excited and full of anticipation
|
|
||||||
faucet -> a tap, "nal" in hindi
|
|
||||||
duress -> threats, violence, constrains, or other actions used to coerce someone into doing something against their will or better judgement
|
|
||||||
detriment -> the state of being harmed or damaged
|
|
||||||
alleviate -> make (suffering, deficiency, or a problem) less severe
|
|
||||||
sentient -> able to perceive or feel things
|
|
||||||
contiguous -> sharing a common border; touching.
|
|
||||||
concurrent -> operating or occuring at the same time
|
|
||||||
vague -> of uncertain, indefinite, or unclear character or meaning
|
|
||||||
concise -> giving a lot of information cleary and in a few words; brief but comprehensive
|
|
||||||
lunatic -> a person who is mentally ill (not in technical use)
|
|
||||||
deterrent -> a thing that discourages or is intended to discourage someone from doing sometihng
|
|
||||||
omit -> leave out or exclude someone or something, either intentionally or forgetfully
|
|
||||||
analogy -> a comparison between one thing and anotherm, typicall for the purpose of explanation or clarification
|
|
||||||
contagious -> spread from one person or orgranism to another, typically by direct contact
|
|
||||||
leconic -> a person who uses very few words
|
|
||||||
petulant -> a person who is rude and acts childish
|
|
||||||
monologue -> a long speech by one actor in a play or a film
|
|
||||||
apprehension -> anziety or fear that something bad or unpleasant will happen
|
|
||||||
reprise -> a repeated passage in music
|
|
||||||
reluctant -> unwilling and hesitant; disinclined
|
|
||||||
trait -> a distinguishing quality or characteristic, typically one belonging to a person.
|
|
||||||
pedantic -> excessively concerned with minor details or rules; overscrupulous.
|
|
||||||
avid -> having or showing a keen interest in or enthusiasm for something
|
|
||||||
eerie -> strange and frightening
|
|
||||||
prepend -> add (something) to the beginning of something else
|
|
||||||
notion -> a conception of or belief about something
|
|
||||||
robust -> strong and healthy
|
|
||||||
mundane ->
|
|
||||||
mundane -> lacking interest or excietement; dull.
|
|
||||||
inevitable -> certain to happen; unavoidable.
|
|
||||||
postulate -> suggest or assume the existence, fact, or truth of something as a basis for reasoning, discussion or belief.
|
|
||||||
reasoning -> the action of thinking about something in a logical, sensible way.
|
|
||||||
abstraction -> the quality of dealing with ideas rather than events.
|
|
||||||
abstract -> existing in thought or as an idea but not having a physical or concrete existence
|
|
||||||
elixir -> a magical or medicinal potion.
|
|
||||||
ardent -> very enthusiastic or passionate.
|
|
||||||
absolute -> existing independently and not in relation to other things
|
|
||||||
reciprocal (mathematics) -> a multiplicative invers
|
|
||||||
intuitive -> easy to use and understand.
|
|
||||||
ubiquitous -> found everywhere, present or appearing.
|
|
||||||
poofta -> a man who is considered effiminate or homosexual
|
|
||||||
camouflage -> it is the use of any combination of materials to either make objects hard to see or by disguising them as someting else.
|
|
||||||
aisle -> a passage between rows of seats in a building such as a curch or theatre, an aircraft or train.
|
|
||||||
ensemble -> a group of items viewed as a whole rather than individually.
|
|
||||||
traverse -> travel across or through, "he traversed the forest"
|
|
||||||
fiend -> an evil spirit or demon
|
|
||||||
contiguous -> sharing a common border; touching.
|
|
||||||
transgression -> an act that goes against a law, rule, or code of conduct.
|
|
||||||
onosecond -> its the fraction of time before one realizes that they have made a crucial mistake after the mistake was made
|
|
||||||
totem -> a natural object or animal that is believed by a particular society to have spiritual significance and that is adopted by it as an embelem.
|
|
||||||
errata -> an error in printing or writing.
|
|
||||||
empirical -> verifiable by ovservation or experience rather than theory or pure logic.
|
|
||||||
bandit -> a robber or outlaw belonging to a gang and typically operating in an isolated or lawless area.
|
|
||||||
futile -> incapable of producing any useful result; pointless.
|
|
||||||
akin -> of similar nature or character
|
|
||||||
inundated -> overwhelm (someone) with things or people to be dealt with
|
|
||||||
blimey -> used to express surprise, excitement, or alarm.
|
|
||||||
detrimental -> tending to cause harm
|
|
||||||
avert -> turn away (one's eyes or thoughts)
|
|
||||||
espionage -> the practice of spying or of using spies, typically by governments to obtain political and military information.
|
|
||||||
polyglot -> knowing or using serveral langauges
|
|
||||||
intrude -> to go into a place in which you are not wanted or not expected to be
|
|
||||||
speculate -> form a theory or conjecture about a subjet without firm evidence.
|
|
||||||
mediocre -> of only average quality; not very good.
|
|
||||||
sober -> not affected by alcohol; not drunk.
|
|
||||||
niche -> a comfortable or suitable position in life or employment
|
|
||||||
sequestered -> isolated and hidden away (place)
|
|
||||||
incentive -> Something, such as the fear of punishment or the expectation of reward, that induces action or motivates effort.
|
|
||||||
inconspicuous -> not clearly visible or not attracting attention. unnoticeable
|
|
||||||
perspicacious -> having a ready insight into and understanding of things. observant.
|
|
||||||
surly -> bad-tempered and unfriendly.
|
|
||||||
stipend -> a fixed sum of money paid periodically for services or to defray expenses
|
|
||||||
indefatigable -> Having or showing a capacity for persisten effor; not tiring or relenting; tireless.
|
|
||||||
liaise -> cooperate on a mtter of mutual concern.
|
|
||||||
innate -> existing naturally or by heredity rather than being learned through experience.
|
|
||||||
amateur -> a person who is incompetent or inept at a particular activity.
|
|
||||||
liaison -> communication or cooperation which facilitates a close working relationship between people or organization
|
|
||||||
truce -> an agreement between enemies or opponents to stop fighting or arguing for a set period of time.
|
|
||||||
consigliere -> a trusted advisor or counselor, especially to the leader of a criminal organization.
|
|
||||||
conceal -> to keep from being observed or discovered; hide
|
|
||||||
->
|
|
||||||
indispensable -> absolutely necessaru; essential
|
|
||||||
prowl -> to roam through stealthily, as in search of prey or plunder.
|
|
||||||
chauffeured -> one employed to drive a private automobile.
|
|
||||||
abysmal -> Resembling an abyss in depth; unfathomable.
|
|
||||||
contingency -> An event that may occur but that is not likely or intended; a possibility.
|
|
||||||
Loading…
Reference in New Issue