mirror of
https://github.com/hydroxycarbamide/dotfiles.git
synced 2025-05-12 23:42:16 -04:00
Compare commits
No commits in common. "68314f7bae3ebdf1ae663e9428b896cbba239b38" and "a9bd58904a286897938f6938e014f6c3b0b97a87" have entirely different histories.
68314f7bae
...
a9bd58904a
9 changed files with 99 additions and 172 deletions
|
@ -145,12 +145,11 @@ animations {
|
||||||
|
|
||||||
dwindle {
|
dwindle {
|
||||||
pseudotile = true # enable pseudotiling on dwindle
|
pseudotile = true # enable pseudotiling on dwindle
|
||||||
no_gaps_when_only = 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
master {
|
master {
|
||||||
always_center_master = false
|
always_center_master = false
|
||||||
mfact = 0.55
|
mfact = 0.60
|
||||||
no_gaps_when_only = 1
|
no_gaps_when_only = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -162,7 +161,7 @@ misc {
|
||||||
# vfr = true
|
# vfr = true
|
||||||
|
|
||||||
# animate_mouse_windowdragging = true
|
# animate_mouse_windowdragging = true
|
||||||
focus_on_activate = false
|
focus_on_activate = true
|
||||||
|
|
||||||
mouse_move_enables_dpms = true
|
mouse_move_enables_dpms = true
|
||||||
key_press_enables_dpms = true
|
key_press_enables_dpms = true
|
||||||
|
@ -216,7 +215,7 @@ windowrulev2 = center, title:^(Move files)$
|
||||||
# windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
# windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
||||||
|
|
||||||
# transparency
|
# transparency
|
||||||
windowrulev2 = opacity 1.0 override 0.9 override, class:^(kitty|foot|footclient|floating-foot|VSCodium|Code|neovide)$
|
windowrulev2 = opacity 1.0 override 0.9 override, class:^(kitty|foot|footclient|floating-foot|VSCodium|Code)$
|
||||||
|
|
||||||
# 1 terminal
|
# 1 terminal
|
||||||
windowrulev2 = workspace 1, class:^(kitty|foot|footclient)$
|
windowrulev2 = workspace 1, class:^(kitty|foot|footclient)$
|
||||||
|
@ -465,10 +464,9 @@ plugin {
|
||||||
columns = 2
|
columns = 2
|
||||||
gap_size = 5
|
gap_size = 5
|
||||||
bg_col = rgb(111111)
|
bg_col = rgb(111111)
|
||||||
workspace_method = first 1 # [center/first] [workspace] e.g. first 1 or center m+1
|
workspace_method = center current # [center/first] [workspace] e.g. first 1 or center m+1
|
||||||
|
|
||||||
enable_gesture = true # laptop touchpad
|
enable_gesture = true # laptop touchpad, 4 fingers
|
||||||
gesture_fingers = 3 # 3 or 4
|
|
||||||
gesture_distance = 300 # how far is the "max"
|
gesture_distance = 300 # how far is the "max"
|
||||||
gesture_positive = true # positive = swipe down. Negative = swipe up.
|
gesture_positive = true # positive = swipe down. Negative = swipe up.
|
||||||
}
|
}
|
||||||
|
@ -511,6 +509,5 @@ exec-once = wl-paste --type image --watch cliphist store #Stores only image data
|
||||||
exec-once = systemctl start --user foot-server
|
exec-once = systemctl start --user foot-server
|
||||||
exec-once = systemctl start --user sunshine
|
exec-once = systemctl start --user sunshine
|
||||||
exec-once = flatpak run me.kozec.syncthingtk -m &
|
exec-once = flatpak run me.kozec.syncthingtk -m &
|
||||||
# exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||||
exec-once = /usr/lib/polkit-kde-authentication-agent-1 &
|
|
||||||
# exec-once = hyprpm reload -n
|
# exec-once = hyprpm reload -n
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
profile {
|
profile {
|
||||||
output HDMI-A-1 {
|
output HDMI-A-1 {
|
||||||
mode 1920x1080@60
|
mode 1920x1080@60
|
||||||
adaptive_sync off
|
|
||||||
position 1920,0
|
position 1920,0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,7 +13,6 @@ profile {
|
||||||
profile {
|
profile {
|
||||||
output DP-1 {
|
output DP-1 {
|
||||||
mode 1920x1080@144.001007
|
mode 1920x1080@144.001007
|
||||||
adaptive_sync off
|
|
||||||
position 0,0
|
position 0,0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,66 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Number of tests
|
|
||||||
NUM_TESTS=5
|
|
||||||
|
|
||||||
# Counter for correct answers
|
|
||||||
correct_answers=0
|
|
||||||
|
|
||||||
# Default output variable (can be set through --output option)
|
|
||||||
output=""
|
|
||||||
|
|
||||||
# Parse command line arguments for --output
|
|
||||||
while [[ "$1" != "" ]]; do
|
|
||||||
case $1 in
|
|
||||||
--output ) shift
|
|
||||||
output=$1
|
|
||||||
;;
|
|
||||||
* ) echo "Invalid option: $1"
|
|
||||||
exit 1
|
|
||||||
esac
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
|
|
||||||
# Ensure output is set
|
|
||||||
if [ -z "$output" ]; then
|
|
||||||
echo "Usage: $0 --output <output-name>"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Function to activate or deactivate adaptive_sync
|
|
||||||
toggle_adaptive_sync() {
|
|
||||||
if [ "$1" -eq 1 ]; then
|
|
||||||
wlr-randr --output "$output" --adaptive-sync enabled
|
|
||||||
else
|
|
||||||
wlr-randr --output "$output" --adaptive-sync disabled
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Run the tests
|
|
||||||
for ((i=1; i<=NUM_TESTS; i++)); do
|
|
||||||
# Randomize adaptive_sync (0 for off, 1 for on)
|
|
||||||
adaptive_sync_state=$((RANDOM % 2))
|
|
||||||
|
|
||||||
# Toggle adaptive_sync
|
|
||||||
toggle_adaptive_sync $adaptive_sync_state
|
|
||||||
|
|
||||||
# Ask user for the current state
|
|
||||||
echo "Is adaptive_sync enabled on $output? (yes/no)"
|
|
||||||
read user_input
|
|
||||||
|
|
||||||
# Convert user input to lowercase
|
|
||||||
user_input=$(echo "$user_input" | tr '[:upper:]' '[:lower:]')
|
|
||||||
|
|
||||||
# Determine the correct answer
|
|
||||||
if [ $adaptive_sync_state -eq 1 ] && [ "$user_input" == "yes" ]; then
|
|
||||||
correct_answers=$((correct_answers + 1))
|
|
||||||
elif [ $adaptive_sync_state -eq 0 ] && [ "$user_input" == "no" ]; then
|
|
||||||
correct_answers=$((correct_answers + 1))
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# Display the number of correct answers
|
|
||||||
echo "You got $correct_answers out of $NUM_TESTS correct."
|
|
||||||
|
|
||||||
# Reset adaptive_sync to a default state (optional)
|
|
||||||
# wlr-randr --output $output --adaptive-sync off
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 473ad7436c0fe5fe96794cfd11e02cb7ae8408ee
|
Subproject commit 767c6e8a03be578dbc5881c32d972ec28f11e69f
|
|
@ -184,17 +184,11 @@ riverctl border-width 2
|
||||||
# Set the default layout generator to be rivertile and start it.
|
# Set the default layout generator to be rivertile and start it.
|
||||||
# River will send the process group of the init executable SIGTERM on exit.
|
# River will send the process group of the init executable SIGTERM on exit.
|
||||||
riverctl default-layout rivertile
|
riverctl default-layout rivertile
|
||||||
rivertile -view-padding 6 -outer-padding 10 &
|
rivertile -view-padding 4 -outer-padding 8 &
|
||||||
|
|
||||||
rivertile smart-padding 0, \
|
|
||||||
view-padding 6, \
|
|
||||||
outer-padding 10, &
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# cursor
|
# cursor
|
||||||
riverctl set-cursor-warp on-focus-change
|
riverctl set-cursor-warp on-focus-change
|
||||||
riverctl xcursor-theme Qogir-dark 24
|
riverctl xcursor-theme Adwaita 24
|
||||||
riverctl focus-follows-cursor always
|
riverctl focus-follows-cursor always
|
||||||
|
|
||||||
|
|
||||||
|
@ -287,10 +281,10 @@ kdeconnect-indicator &
|
||||||
## osd
|
## osd
|
||||||
swayosd-server &
|
swayosd-server &
|
||||||
|
|
||||||
## syncthing
|
# syncthing
|
||||||
flatpak run me.kozec.syncthingtk -m &
|
flatpak run me.kozec.syncthingtk -m &
|
||||||
|
|
||||||
## systemctl restarts
|
# systemctl restarts
|
||||||
systemctl start --user foot-server
|
systemctl start --user foot-server
|
||||||
systemctl start --user sunshine
|
systemctl start --user sunshine
|
||||||
|
|
||||||
|
@ -298,10 +292,9 @@ systemctl start --user sunshine
|
||||||
wl-paste --type text --watch cliphist store & #Stores only text data
|
wl-paste --type text --watch cliphist store & #Stores only text data
|
||||||
wl-paste --type image --watch cliphist store & #Stores only image data
|
wl-paste --type image --watch cliphist store & #Stores only image data
|
||||||
|
|
||||||
# polkit
|
|
||||||
## /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
|
||||||
/usr/lib/polkit-kde-authentication-agent-1
|
|
||||||
|
|
||||||
## lock
|
## lock
|
||||||
swayidle before-sleep 'loginctl lock-session' lock '/home/eric/.config/hypr/bsplock'
|
swayidle before-sleep 'loginctl lock-session' lock '/home/eric/.config/hypr/bsplock'
|
||||||
|
|
||||||
|
# polkit
|
||||||
|
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||||
|
|
||||||
|
|
|
@ -389,7 +389,7 @@ mouse_warping container
|
||||||
|
|
||||||
# cursor
|
# cursor
|
||||||
|
|
||||||
set $my_cursor Qogir-dark
|
# set $my_cursor Qogir
|
||||||
set $my_cursor_size 24
|
set $my_cursor_size 24
|
||||||
|
|
||||||
seat seat0 xcursor_theme $my_cursor $my_cursor_size
|
seat seat0 xcursor_theme $my_cursor $my_cursor_size
|
||||||
|
@ -449,8 +449,7 @@ exec systemctl start --user sunshine
|
||||||
exec wl-paste --type text --watch cliphist store
|
exec wl-paste --type text --watch cliphist store
|
||||||
exec wl-paste --type image --watch cliphist store
|
exec wl-paste --type image --watch cliphist store
|
||||||
exec swayidle before-sleep 'loginctl lock-session' lock '/home/eric/.config/hypr/bsplock'
|
exec swayidle before-sleep 'loginctl lock-session' lock '/home/eric/.config/hypr/bsplock'
|
||||||
# exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||||
exec /usr/lib/polkit-kde-authentication-agent-1 &
|
|
||||||
exec rm -f /tmp/sovpipe && mkfifo /tmp/sovpipe && tail -f /tmp/sovpipe | sov -t 200 -n -c 1 -s $HOME/.config/sov
|
exec rm -f /tmp/sovpipe && mkfifo /tmp/sovpipe && tail -f /tmp/sovpipe | sov -t 200 -n -c 1 -s $HOME/.config/sov
|
||||||
exec nm-applet
|
exec nm-applet
|
||||||
exec dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
exec dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
|
|
@ -1,75 +1,82 @@
|
||||||
{
|
{
|
||||||
"$schema": "/etc/xdg/swaync/configSchema.json",
|
"$schema": "/etc/xdg/swaync/configSchema.json",
|
||||||
"positionX": "right",
|
"positionX": "right",
|
||||||
"positionY": "top",
|
"positionY": "top",
|
||||||
"control-center-margin-top": 5,
|
"control-center-margin-top": 5,
|
||||||
"control-center-margin-bottom": 0,
|
"control-center-margin-bottom": 0,
|
||||||
"control-center-margin-right": 5,
|
"control-center-margin-right": 5,
|
||||||
"control-center-margin-left": 0,
|
"control-center-margin-left": 0,
|
||||||
"notification-icon-size": 64,
|
"notification-icon-size": 64,
|
||||||
"notification-body-image-height": 100,
|
"notification-body-image-height": 100,
|
||||||
"notification-body-image-width": 200,
|
"notification-body-image-width": 200,
|
||||||
"timeout": 10,
|
"timeout": 10,
|
||||||
"timeout-low": 5,
|
"timeout-low": 5,
|
||||||
"timeout-critical": 0,
|
"timeout-critical": 0,
|
||||||
"fit-to-screen": false,
|
"fit-to-screen": false,
|
||||||
"control-center-width": 600,
|
"control-center-width": 600,
|
||||||
"control-center-height": 800,
|
"control-center-height": 800,
|
||||||
"notification-window-width": 500,
|
"notification-window-width": 500,
|
||||||
"keyboard-shortcuts": true,
|
"keyboard-shortcuts": true,
|
||||||
"image-visibility": "when-available",
|
"image-visibility": "when-available",
|
||||||
"transition-time": 100,
|
"transition-time": 100,
|
||||||
"hide-on-clear": false,
|
"hide-on-clear": false,
|
||||||
"hide-on-action": true,
|
"hide-on-action": true,
|
||||||
"script-fail-notify": true,
|
"script-fail-notify": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"example-script": {
|
"example-script": {
|
||||||
"exec": "echo 'Do something...'",
|
"exec": "echo 'Do something...'",
|
||||||
"urgency": "Normal"
|
"urgency": "Normal"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"notification-visibility": {
|
"notification-visibility": {
|
||||||
"Spotify": {
|
"Spotify": {
|
||||||
"state": "muted",
|
"state": "muted",
|
||||||
"urgency": "Low",
|
"urgency": "Low",
|
||||||
"app-name": "Spotify"
|
"app-name": "Spotify"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"widgets": ["inhibitors", "title", "dnd", "notifications", "mpris", "volume"],
|
"widgets": [
|
||||||
"widget-config": {
|
"inhibitors",
|
||||||
"inhibitors": {
|
"title",
|
||||||
"text": "Inhibitors",
|
"dnd",
|
||||||
"button-text": "Clear All",
|
"notifications",
|
||||||
"clear-all-button": true
|
"mpris",
|
||||||
},
|
"volume"
|
||||||
"title": {
|
],
|
||||||
"text": "Notifications",
|
"widget-config": {
|
||||||
"clear-all-button": true,
|
"inhibitors": {
|
||||||
"button-text": "Clear All"
|
"text": "Inhibitors",
|
||||||
},
|
"button-text": "Clear All",
|
||||||
"dnd": {
|
"clear-all-button": true
|
||||||
"text": "Do Not Disturb"
|
},
|
||||||
},
|
"title": {
|
||||||
"label": {
|
"text": "Notifications",
|
||||||
"max-lines": 5,
|
"clear-all-button": true,
|
||||||
"text": "Label Text"
|
"button-text": "Clear All"
|
||||||
},
|
},
|
||||||
"mpris": {
|
"dnd": {
|
||||||
"image-size": 96,
|
"text": "Do Not Disturb"
|
||||||
"image-radius": 12
|
},
|
||||||
},
|
"label": {
|
||||||
"buttons-grid": {
|
"max-lines": 5,
|
||||||
"actions": [
|
"text": "Label Text"
|
||||||
{
|
},
|
||||||
"label": "1"
|
"mpris": {
|
||||||
},
|
"image-size": 96,
|
||||||
{
|
"image-radius": 12
|
||||||
"label": "2"
|
},
|
||||||
},
|
"buttons-grid": {
|
||||||
{
|
"actions": [
|
||||||
"label": "3"
|
{
|
||||||
}
|
"label": "1"
|
||||||
]
|
},
|
||||||
}
|
{
|
||||||
}
|
"label": "2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "3"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
"height": 32,
|
"height": 32,
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"hyprland/workspaces",
|
"hyprland/workspaces",
|
||||||
"sway/workspaces#sway",
|
//"sway/workspaces#sway"
|
||||||
"river/tags",
|
//"river/tags",
|
||||||
//"river/layout",
|
//"river/layout",
|
||||||
|
|
||||||
"group/visualisation"
|
"group/visualisation"
|
||||||
|
@ -243,7 +243,7 @@
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"max-length": 16,
|
"max-length": 15,
|
||||||
// "format": " {}%",
|
// "format": " {}%",
|
||||||
"format": "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}",
|
"format": "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}",
|
||||||
"format-icons": [
|
"format-icons": [
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
*.png filter=lfs diff=lfs merge=lfs -text
|
|
Loading…
Add table
Add a link
Reference in a new issue