Compare commits
6 Commits
26e0fe9ee6
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 853474e615 | |||
| 0602bd4434 | |||
| 7c6777dba8 | |||
| 9de826bf6b | |||
| 8b37861847 | |||
| 59d055e86f |
Submodule .config/hypr updated: 1382e8a213...65c506f834
@@ -49,31 +49,21 @@ chafa -s 20x20 ~/.config/otter-launcher/cat.png
|
|||||||
"""
|
"""
|
||||||
overlay_trimmed_lines = 1
|
overlay_trimmed_lines = 1
|
||||||
|
|
||||||
|
|
||||||
# modules are defined as followed
|
|
||||||
[[modules]]
|
|
||||||
description = "google search"
|
|
||||||
prefix = "gg"
|
|
||||||
cmd = "firefox --new-window https://www.google.com/search?q='{}'"
|
|
||||||
with_argument = true # if true, {} in cmd will be replaced with user input. if not explicitly set, taken as false.
|
|
||||||
url_encode = true # should be true when calling webpages; this ensures special characters in url being readable to browsers; taken as false if not explicitly set
|
|
||||||
unbind_proc = true # run cmd in a forked shell as opposed to as a child process (simply by prepending setsid -f to the configured cmd); useful for launching gui programs; taken as false if not explicitly set
|
|
||||||
|
|
||||||
[[modules]]
|
[[modules]]
|
||||||
description = "programs"
|
description = "programs"
|
||||||
prefix = "app"
|
prefix = "app"
|
||||||
cmd = """
|
cmd = """
|
||||||
hyprctl dispatch resizeactive 300 500 &&
|
hyprctl dispatch 'hl.dsp.window.resize({x = 700, y = 700, window = activewindow})' &&
|
||||||
hyprctl dispatch centerwindow &&
|
hyprctl dispatch 'hl.dsp.window.center({window = activewindow})'&&
|
||||||
hyprctl dispatch exec $(fsel --no-exec)
|
hyprctl dispatch "hl.dsp.exec_cmd('$(fsel --no-exec)')"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[[modules]]
|
[[modules]]
|
||||||
description = "bluetooth"
|
description = "bluetooth"
|
||||||
prefix = "bl"
|
prefix = "bl"
|
||||||
cmd = """
|
cmd = """
|
||||||
hyprctl dispatch resizeactive 300 250 &&
|
hyprctl dispatch 'hl.dsp.window.resize({x = 650, y = 400, window = activewindow})' &&
|
||||||
hyprctl dispatch centerwindow &&
|
hyprctl dispatch 'hl.dsp.window.center({window = activewindow})'&&
|
||||||
bluetui
|
bluetui
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@@ -81,32 +71,13 @@ bluetui
|
|||||||
description = "nerd icons"
|
description = "nerd icons"
|
||||||
prefix = "nerd"
|
prefix = "nerd"
|
||||||
cmd = """
|
cmd = """
|
||||||
hyprctl dispatch resizeactive 300 500 &&
|
|
||||||
hyprctl dispatch centerwindow &&
|
|
||||||
hyprctl dispatch exec wl-copy $(cat ~/.config/otter-launcher/icons.json | jq -r '. | to_entries[] | "\\(.value.char) \\(.key)"' | fzf | awk '{print $1}' | tr -d '\n')
|
|
||||||
"""
|
|
||||||
|
|
||||||
[[modules]]
|
|
||||||
description = "command"
|
|
||||||
prefix = "sh"
|
|
||||||
cmd = """
|
|
||||||
hyprctl dispatch exec 'kitty -e zsh -c "{}"'
|
|
||||||
"""
|
|
||||||
with_argument = true
|
|
||||||
unbind_proc = true
|
|
||||||
|
|
||||||
[[modules]]
|
|
||||||
description = "notes"
|
|
||||||
prefix = "n"
|
|
||||||
cmd = """
|
|
||||||
hyprctl dispatch exec "kitty -e nvim --cmd 'cd ~/Notes/'"
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[[modules]]
|
[[modules]]
|
||||||
description = "nixos wiki"
|
description = "nixos wiki"
|
||||||
prefix = "nw"
|
prefix = "nw"
|
||||||
cmd = """
|
cmd = """
|
||||||
hyprctl dispatch exec "firefox --new-window 'https://wiki.nixos.org/w/index.php?search={}'"
|
hyprctl dispatch "hl.dsp.exec_cmd('firefox --new-window https://wiki.nixos.org/w/index.php?search={}')"
|
||||||
"""
|
"""
|
||||||
with_argument = true
|
with_argument = true
|
||||||
url_encode = true
|
url_encode = true
|
||||||
@@ -116,17 +87,7 @@ unbind_proc = true
|
|||||||
description = "nixpkgs"
|
description = "nixpkgs"
|
||||||
prefix = "nix"
|
prefix = "nix"
|
||||||
cmd = """
|
cmd = """
|
||||||
hyprctl dispatch exec "firefox --new-window 'https://search.nixos.org/packages?query={}'"
|
hyprctl dispatch "hl.dsp.exec_cmd('firefox --new-window https://search.nixos.org/packages?query={}')"
|
||||||
"""
|
|
||||||
with_argument = true
|
|
||||||
url_encode = true
|
|
||||||
unbind_proc = true
|
|
||||||
|
|
||||||
[[modules]]
|
|
||||||
description = "dict"
|
|
||||||
prefix = "dc"
|
|
||||||
cmd = """
|
|
||||||
hyprctl dispatch exec "firefox --new-window 'https://dictionary.cambridge.org/dictionary/english/{}'"
|
|
||||||
"""
|
"""
|
||||||
with_argument = true
|
with_argument = true
|
||||||
url_encode = true
|
url_encode = true
|
||||||
@@ -136,22 +97,24 @@ unbind_proc = true
|
|||||||
description = "open folder"
|
description = "open folder"
|
||||||
prefix = "path"
|
prefix = "path"
|
||||||
cmd = """
|
cmd = """
|
||||||
hyprctl dispatch resizeactive 300 500 &&
|
hyprctl dispatch 'hl.dsp.window.resize({x = 700, y = 700, window = activewindow})' &&
|
||||||
hyprctl dispatch centerwindow &
|
hyprctl dispatch 'hl.dsp.window.center({window = activewindow})'&&
|
||||||
hyprctl dispatch exec thunar $(find . -maxdepth 2 -type d | fzf)
|
hyprctl dispatch "hl.dsp.exec_cmd('nemo $(find . -maxdepth 2 -type d | fzf)')"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[[modules]]
|
[[modules]]
|
||||||
description = "jellyfin"
|
description = "jellyfin"
|
||||||
prefix = "jf"
|
prefix = "jf"
|
||||||
cmd = """
|
cmd = """
|
||||||
hyprctl dispatch exec '[workspace special:music]' 'kitty --class jf-tui -e jellyfin-tui'
|
hyprctl dispatch 'hl.dsp.exec_cmd("kitty --class jf-tui -e jellyfin-tui", {workspace = "special:music"})'
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[[modules]]
|
[[modules]]
|
||||||
description = "youtube"
|
description = "youtube"
|
||||||
prefix = "y"
|
prefix = "y"
|
||||||
cmd = "hyprctl dispatch exec 'firefox --new-window https://www.youtube.com'"
|
cmd = """
|
||||||
|
hyprctl dispatch "hl.dsp.exec_cmd('firefox --new-window https://www.youtube.com')"
|
||||||
|
"""
|
||||||
with_argument = false
|
with_argument = false
|
||||||
url_encode = true
|
url_encode = true
|
||||||
unbind_proc = true
|
unbind_proc = true
|
||||||
@@ -159,7 +122,9 @@ unbind_proc = true
|
|||||||
[[modules]]
|
[[modules]]
|
||||||
description = "whatsapp"
|
description = "whatsapp"
|
||||||
prefix = "w"
|
prefix = "w"
|
||||||
cmd = "hyprctl dispatch exec 'firefox --new-window https://web.whatsapp.com'"
|
cmd = """
|
||||||
|
hyprctl dispatch "hl.dsp.exec_cmd('firefox --new-window https://web.whatsapp.com')"
|
||||||
|
"""
|
||||||
with_argument = false
|
with_argument = false
|
||||||
url_encode = true
|
url_encode = true
|
||||||
unbind_proc = true
|
unbind_proc = true
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
"label" : "logout",
|
"label" : "logout",
|
||||||
"action" : "hyprctl dispatch exit",
|
"action" : "hyprctl dispatch 'hl.dsp.exit()'" ,
|
||||||
"text" : "Logout",
|
"text" : "Logout",
|
||||||
"keybind" : "e"
|
"keybind" : "e"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,2 +1,12 @@
|
|||||||
[any]
|
[any]
|
||||||
path = "/home/user01/.config/wallpapers"
|
path = "/home/user01/.config/wallpapers"
|
||||||
|
|
||||||
|
[HDMI-A-1]
|
||||||
|
path = "~/.config/wallpapers/topo1.png"
|
||||||
|
|
||||||
|
[DP-1]
|
||||||
|
path = "~/.config/wallpapers/topo2.png"
|
||||||
|
|
||||||
|
[DP-2]
|
||||||
|
path = "~/.config/wallpapers/topo3.png"
|
||||||
|
|
||||||
|
|||||||
2
.nixos
2
.nixos
Submodule .nixos updated: 2f7142135f...134914f561
@@ -1,33 +0,0 @@
|
|||||||
|
|
||||||
bind = $mainMod, f, fullscreen # toggle the window between focus and fullscreen
|
|
||||||
bind = $mainMod, e, exec, wlogout -b 5 # Wlogout menu
|
|
||||||
|
|
||||||
# Application shortcuts
|
|
||||||
bind = $mainMod, return, exec, $term # launch terminal emulator
|
|
||||||
bind = $mainMod, i, exec, $editor # launch text editor
|
|
||||||
bind = $mainMod, o, exec, $browser # launch web browser
|
|
||||||
|
|
||||||
# Switch workspaces
|
|
||||||
bind = $mainMod, 1, workspace, 1
|
|
||||||
bind = $mainMod, 2, workspace, 2
|
|
||||||
bind = $mainMod, 3, workspace, 3
|
|
||||||
bind = $mainMod, 4, workspace, 4
|
|
||||||
bind = $mainMod, 5, workspace, 5
|
|
||||||
bind = $mainMod, 6, workspace, 6
|
|
||||||
bind = $mainMod, 7, workspace, 7
|
|
||||||
bind = $mainMod, 8, workspace, 8
|
|
||||||
bind = $mainMod, 9, workspace, 9
|
|
||||||
bind = $mainMod, 0, workspace, 10
|
|
||||||
|
|
||||||
# Move focused window to a workspace
|
|
||||||
bind = $mainMod+Shift, 1, movetoworkspacesilent, 1
|
|
||||||
bind = $mainMod+Shift, 2, movetoworkspacesilent, 2
|
|
||||||
bind = $mainMod+Shift, 3, movetoworkspacesilent, 3
|
|
||||||
bind = $mainMod+Shift, 4, movetoworkspacesilent, 4
|
|
||||||
bind = $mainMod+Shift, 5, movetoworkspacesilent, 5
|
|
||||||
bind = $mainMod+Shift, 6, movetoworkspacesilent, 6
|
|
||||||
bind = $mainMod+Shift, 7, movetoworkspacesilent, 7
|
|
||||||
bind = $mainMod+Shift, 8, movetoworkspacesilent, 8
|
|
||||||
bind = $mainMod+Shift, 9, movetoworkspacesilent, 9
|
|
||||||
bind = $mainMod+Shift, 0, movetoworkspacesilent, 10
|
|
||||||
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
# Main modifier
|
|
||||||
$mainMod = mod1
|
|
||||||
$submod = super
|
|
||||||
|
|
||||||
input {
|
|
||||||
kb_options = caps:swapescape # swap caps and escape
|
|
||||||
}
|
|
||||||
|
|
||||||
exec-once = wpaperd -d # Wallpaper
|
|
||||||
exec-once = way-edges # Screen Edge Shell
|
|
||||||
|
|
||||||
workspace = special:music, gapsout:5 330 300 330 # bigger music workspace
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
|
|
||||||
# Script Path
|
|
||||||
$scrPath = ~/.config/scripts
|
|
||||||
|
|
||||||
# Window/Session actions
|
|
||||||
bind = $mainMod, b, fullscreen # toggle the window between focus and fullscreen
|
|
||||||
bind = $mainMod, a, exec, wlogout -b 5 # Wlogout menu
|
|
||||||
|
|
||||||
# Application shortcuts
|
|
||||||
bind = $mainMod, s, exec, $file # launch web browser
|
|
||||||
bind = $mainMod, return, exec, $term # launch terminal emulator
|
|
||||||
bind = $mainMod, f, exec, $browser # launch web browser
|
|
||||||
|
|
||||||
# Switch workspaces
|
|
||||||
bind = $mainMod, q, workspace, 1
|
|
||||||
bind = $mainMod, w, workspace, 2
|
|
||||||
bind = $mainMod, e, workspace, 3
|
|
||||||
bind = $mainMod, r, workspace, 4
|
|
||||||
bind = $mainMod, t, workspace, 5
|
|
||||||
bind = $mainMod, y, workspace, 6
|
|
||||||
bind = $mainMod, u, workspace, 7
|
|
||||||
bind = $mainMod, i, workspace, 8
|
|
||||||
bind = $mainMod, o, workspace, 9
|
|
||||||
bind = $mainMod, p, workspace, 10
|
|
||||||
|
|
||||||
bind = $mainMod+SHIFT, q, movetoworkspacesilent, 1
|
|
||||||
bind = $mainMod+SHIFT, w, movetoworkspacesilent, 2
|
|
||||||
bind = $mainMod+SHIFT, e, movetoworkspacesilent, 3
|
|
||||||
bind = $mainMod+SHIFT, r, movetoworkspacesilent, 4
|
|
||||||
bind = $mainMod+SHIFT, t, movetoworkspacesilent, 5
|
|
||||||
bind = $mainMod+SHIFT, y, movetoworkspacesilent, 6
|
|
||||||
bind = $mainMod+SHIFT, u, movetoworkspacesilent, 7
|
|
||||||
bind = $mainMod+SHIFT, i, movetoworkspacesilent, 8
|
|
||||||
bind = $mainMod+SHIFT, o, movetoworkspacesilent, 9
|
|
||||||
bind = $mainMod+SHIFT, p, movetoworkspacesilent, 10
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
# Main modifier
|
|
||||||
$mainMod = super # super / meta / windows key
|
|
||||||
$submod = super
|
|
||||||
|
|
||||||
#cool decorations
|
|
||||||
exec-once = kitten panel --edge=background -o background_opacity=0 --output-name HDMI-A-1 sh -c "cmatrix -b -C magenta -a -u 10"
|
|
||||||
exec-once = kitten panel --edge=background -o background_opacity=0 --output-name DP-2 sh -c "cava"
|
|
||||||
# exec-once = kitten panel --edge=background -o background_opacity=0 --output-name DP-1 sh -c "fastfetch && tail -f /dev/null"
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
monitor = DP-1, 1920x1080@60, 0x0, 1
|
|
||||||
monitor = DP-2, 1920x1080@60, 1920x0, 1
|
|
||||||
monitor = HDMI-A-1, 1920x1080@60, -1920x0, 1
|
|
||||||
|
|
||||||
workspace = 2, monitor:HDMI-A-1, default:true
|
|
||||||
workspace = 3, monitor:DP-2, default:true
|
|
||||||
workspace = 1, monitor:DP-1, default:true
|
|
||||||
|
|
||||||
exec-once = wpaperd
|
|
||||||
|
|
||||||
decoration {
|
|
||||||
blur {
|
|
||||||
vibrancy_darkness = 0.3
|
|
||||||
vibrancy = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
[HDMI-A-1]
|
|
||||||
path = "~/.config/wallpapers/topo1.png"
|
|
||||||
|
|
||||||
[DP-1]
|
|
||||||
path = "~/.config/wallpapers/topo2.png"
|
|
||||||
|
|
||||||
[DP-2]
|
|
||||||
path = "~/.config/wallpapers/topo3.png"
|
|
||||||
Reference in New Issue
Block a user