mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2025-12-05 02:53:38 -08:00
Compare commits
4 Commits
cd370f70e6
...
2688e2c488
| Author | SHA1 | Date | |
|---|---|---|---|
|
2688e2c488
|
|||
|
db54fee30b
|
|||
|
c61bd04919
|
|||
|
e5934fc174
|
@@ -259,17 +259,18 @@ windowrule = float, class:mpv
|
|||||||
windowrule = float, class:steam
|
windowrule = float, class:steam
|
||||||
windowrule = workspace 10 silent, class:discord
|
windowrule = workspace 10 silent, class:discord
|
||||||
windowrule = workspace 9 silent, class:steam
|
windowrule = workspace 9 silent, class:steam
|
||||||
# windowruv2 = opacity 0.88, class:.* fullscreen:0
|
windowrule = size 2118 1182, class:anki
|
||||||
|
windowrule = float, class:anki
|
||||||
|
windowrule = workspace 8 silent, class:anki
|
||||||
windowrule = opacity 0.88, class:.* fullscreen:0
|
windowrule = opacity 0.88, class:.* fullscreen:0
|
||||||
# windowruv2 = opacity 1, class:.* fullscreen:0
|
|
||||||
windowrule = opacity 1, class:mpv fullscreen:0
|
windowrule = opacity 1, class:mpv fullscreen:0
|
||||||
windowrule = opacity 1, class:anki fullscreen:0
|
|
||||||
windowrule = opacity 1, class:Thorium-browser title:(.*)asbplayer
|
windowrule = opacity 1, class:Thorium-browser title:(.*)asbplayer
|
||||||
windowrule = tile, class:Thorium-browser title:(.*)asbplayer
|
windowrule = tile, class:Thorium-browser title:(.*)asbplayer
|
||||||
windowrule = opacity 1, class:^(remote-viewer)$
|
windowrule = opacity 1, class:^(remote-viewer)$
|
||||||
windowrule = opacity 1, class:com.obsproject.Studio
|
windowrule = opacity 1, class:com.obsproject.Studio
|
||||||
windowrule = opacity 1, title:(.*)(- YouTube(.*))
|
windowrule = opacity 1, title:(.*)(- YouTube(.*))
|
||||||
windowrule = opacity 1, class:zen, title:(.*)YouTube TV(.*)
|
windowrule = opacity 1, class:zen, title:(.*)YouTube TV(.*)
|
||||||
|
windowrule = opacity 1, class:anki fullscreen:0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ bindl = , XF86AudioPrev, exec, mpc prev
|
|||||||
bind = $mainMod SHIFT, v, exec, uwsm app -sb -- rofi-rbw
|
bind = $mainMod SHIFT, v, exec, uwsm app -sb -- rofi-rbw
|
||||||
bind = $mainMod, w, exec, rofi -show window -theme $HOME/.config/rofi/launchers/type-2/style-2.rasi -dpi 96 -theme-str 'window {width: 35%;}'
|
bind = $mainMod, w, exec, rofi -show window -theme $HOME/.config/rofi/launchers/type-2/style-2.rasi -dpi 96 -theme-str 'window {width: 35%;}'
|
||||||
bind = $mainMod SHIFT, w, exec, $HOME/.config/rofi/scripts/rofi-wallpaper.sh
|
bind = $mainMod SHIFT, w, exec, $HOME/.config/rofi/scripts/rofi-wallpaper.sh
|
||||||
|
bind = $mainMod SHIFT, d, exec, $HOME/.config/rofi/scripts/rofi-docs.sh
|
||||||
|
|
||||||
# ncmcppp
|
# ncmcppp
|
||||||
bind = $mainMod, n, exec, uwsm app -sb -- ghostty --command=/usr/bin/ncmpcpp
|
bind = $mainMod, n, exec, uwsm app -sb -- ghostty --command=/usr/bin/ncmpcpp
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ return {
|
|||||||
-- default = "claude-3.7-sonnet-thought",
|
-- default = "claude-3.7-sonnet-thought",
|
||||||
-- default = "o3-mini",
|
-- default = "o3-mini",
|
||||||
-- default = "gemini-2.0-flash-001",
|
-- default = "gemini-2.0-flash-001",
|
||||||
default = "gpt-4.1",
|
default = "claude-haiku-4.5",
|
||||||
-- default = "gpt-4o",
|
-- default = "gpt-4o",
|
||||||
-- default = "o3-mini-2025-01-31",
|
-- default = "o3-mini-2025-01-31",
|
||||||
-- choices = {
|
-- choices = {
|
||||||
|
|||||||
20
.config/rofi/scripts/rofi-docs.sh
Executable file
20
.config/rofi/scripts/rofi-docs.sh
Executable file
@@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
BROWSER=/usr/bin/zen-browser
|
||||||
|
URLS=(
|
||||||
|
"Archlinux Wiki|https://wiki.archlinux.org/title/Main_page"
|
||||||
|
"Hyprland Docs|https://wiki.hypr.land/"
|
||||||
|
"Hyprland Window Rules|https://wiki.hypr.land/Configuring/Window-Rules/"
|
||||||
|
)
|
||||||
|
|
||||||
|
DISPLAY_URLS=()
|
||||||
|
declare -A URL_MAP
|
||||||
|
for url in "${URLS[@]}"; do
|
||||||
|
DISPLAY_URLS+=("${url%%|*}")
|
||||||
|
label="${url%%|*}"
|
||||||
|
URL_MAP["$label"]="${url##*|}"
|
||||||
|
done
|
||||||
|
|
||||||
|
SELECTION="$(printf "%s\n" "${DISPLAY_URLS[@]}" | rofi -theme-str 'window {width: 25%;} listview {columns: 1; lines: 10;}' -theme ~/.config/rofi/launchers/type-2/style-2.rasi -dmenu -l 5 -i -p "Select Documentation")"
|
||||||
|
URL="${URL_MAP[$SELECTION]}"
|
||||||
|
$BROWSER "$URL" &>/dev/null &
|
||||||
@@ -124,6 +124,12 @@ button:hover {
|
|||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.modules-right {
|
||||||
|
padding-left: 1px;
|
||||||
|
}
|
||||||
|
.modules-left {
|
||||||
|
padding-right: 4px;
|
||||||
|
}
|
||||||
.modules-right > widget:last-child > #workspaces {
|
.modules-right > widget:last-child > #workspaces {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
@@ -213,7 +219,7 @@ label:focus {
|
|||||||
/* background-color: @overlay0; */
|
/* background-color: @overlay0; */
|
||||||
background-color: @surface0;
|
background-color: @surface0;
|
||||||
color: @mantle;
|
color: @mantle;
|
||||||
margin: 5px 3px 5px 1px;
|
margin: 5px 1px 5px 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray > .passive {
|
#tray > .passive {
|
||||||
@@ -255,7 +261,7 @@ label:focus {
|
|||||||
color: @mantle;
|
color: @mantle;
|
||||||
background-color: @mauve;
|
background-color: @mauve;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
margin: 5px 1px;
|
margin: 5px 1px 5px 2px;
|
||||||
}
|
}
|
||||||
#custom-updates {
|
#custom-updates {
|
||||||
background-color: @yellow;
|
background-color: @yellow;
|
||||||
@@ -274,7 +280,7 @@ label:focus {
|
|||||||
color: @mantle;
|
color: @mantle;
|
||||||
background-color: @peach;
|
background-color: @peach;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
margin: 5px 5px 5px 1px;
|
margin: 5px 1px 5px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cava {
|
#cava {
|
||||||
@@ -311,7 +317,7 @@ label:focus {
|
|||||||
background-color: @flamingo;
|
background-color: @flamingo;
|
||||||
color: @base;
|
color: @base;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
margin: 5px 5px 5px 1px;
|
margin: 5px 1px 5px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-notification {
|
#custom-notification {
|
||||||
|
|||||||
Reference in New Issue
Block a user