anki remote and wallpaper
This commit is contained in:
parent
75ab33c639
commit
86efe3c022
3 changed files with 21 additions and 1 deletions
|
@ -6,10 +6,12 @@ $clipboard = rofi -show clipboard -show-icons
|
|||
$emoji = rofi -show emoji
|
||||
|
||||
exec-once = nm-applet &
|
||||
exec-once = blueman-applet &
|
||||
exec-once = waybar &
|
||||
exec-once = mako &
|
||||
exec-once = hyprctl setcursor Bibata-Modern-5aa09-v1.0.2-x11 24
|
||||
exec-once = wl-paste --watch cliphist store
|
||||
exec-once = hyprpaper
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
|
@ -95,7 +97,7 @@ master {
|
|||
|
||||
misc {
|
||||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
||||
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
|
||||
}
|
||||
|
||||
|
||||
|
@ -197,6 +199,11 @@ bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
|||
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 1%+
|
||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 1%-
|
||||
|
||||
# anki remote
|
||||
$remote = ~/.dotfiles/hypr/scripts/anki-remote.sh
|
||||
bind = , mouse:276, exec, $remote "space"
|
||||
bind = , mouse:275, exec, $remote
|
||||
|
||||
##############################
|
||||
### WINDOWS AND WORKSPACES ###
|
||||
##############################
|
||||
|
|
2
hypr/hyprpaper.conf
Normal file
2
hypr/hyprpaper.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
preload = ~/wallpapers/purple.jpeg
|
||||
wallpaper = , ~/wallpapers/purple.jpeg
|
11
hypr/scripts/anki-remote.sh
Executable file
11
hypr/scripts/anki-remote.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
active_window=$(hyprctl activewindow -j | jq -r ".class")
|
||||
|
||||
if [ "$active_window" = "anki" ]; then
|
||||
if [ "$1" = "space" ]; then
|
||||
wtype " "
|
||||
else
|
||||
wtype "1"
|
||||
fi
|
||||
fi
|
Loading…
Add table
Reference in a new issue