Compare commits
5 Commits
148c8938e9
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 662b1ebeed | |||
| db9a26decb | |||
| 85f7b86620 | |||
| 480c18d95d | |||
| 22e6573f27 |
@@ -0,0 +1,15 @@
|
|||||||
|
[window]
|
||||||
|
opacity = 0.75
|
||||||
|
|
||||||
|
[font]
|
||||||
|
#size = 14.0 # your preferred font size
|
||||||
|
#normal.family = "FiraCode Nerd Font"
|
||||||
|
#bold.family = "FiraCode Nerd Font"
|
||||||
|
#italic.family = "FiraCode Nerd Font"
|
||||||
|
#bold_italic.family = "FiraCode Nerd Font"
|
||||||
|
#normal = { family = "JetBrainsMono Nerd Font" }
|
||||||
|
|
||||||
|
[[keyboard.bindings]]
|
||||||
|
key = "Return"
|
||||||
|
mods = "Shift"
|
||||||
|
chars = "\u001B\r"
|
||||||
@@ -8,14 +8,16 @@ autogenerated = 0
|
|||||||
### MONITORS ###
|
### MONITORS ###
|
||||||
################
|
################
|
||||||
|
|
||||||
|
#monitor=output resolution@framerate offset scale
|
||||||
monitor=DP-2, 1920x1080@60, 0x0, 1
|
monitor=DP-2, 1920x1080@60, 0x0, 1
|
||||||
monitor=DP-3, 1920x1080@60, 1920x0, 1
|
monitor=DP-3, 1920x1080@60, 1920x0, 1
|
||||||
|
monitor=HDMI-A-1, 1366x768@60, 2474x-768, 1
|
||||||
|
|
||||||
###################
|
###################
|
||||||
### MY PROGRAMS ###
|
### MY PROGRAMS ###
|
||||||
###################
|
###################
|
||||||
$terminal = alacritty
|
$terminal = alacritty
|
||||||
$fileManager = thunar
|
$fileManager = dolphin
|
||||||
$menu = pkill wofi || wofi --show drun -i -I --term=alacritty
|
$menu = pkill wofi || wofi --show drun -i -I --term=alacritty
|
||||||
|
|
||||||
|
|
||||||
@@ -27,10 +29,16 @@ exec-once = swaync &
|
|||||||
exec-once = waybar & hyprpaper
|
exec-once = waybar & hyprpaper
|
||||||
exec-once = hypridle
|
exec-once = hypridle
|
||||||
exec-once = copyq --start-server
|
exec-once = copyq --start-server
|
||||||
|
|
||||||
|
#Autostart KDE Connect
|
||||||
|
exec-once = /usr/lib/kdeconnectd
|
||||||
|
exec-once = kdeconnect-indicator
|
||||||
|
|
||||||
|
#Autostart programs
|
||||||
exec-once = discord --start-minimized
|
exec-once = discord --start-minimized
|
||||||
exec-once = steam -silent
|
exec-once = steam -silent
|
||||||
|
|
||||||
exec-once = thunar --daemon
|
#exec-once = thunar --daemon
|
||||||
#exec-once = hyprpm reload -n
|
#exec-once = hyprpm reload -n
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
@@ -40,6 +48,11 @@ exec-once = thunar --daemon
|
|||||||
env = XCURSOR_SIZE,24
|
env = XCURSOR_SIZE,24
|
||||||
env = HYPRCURSOR_SIZE,24
|
env = HYPRCURSOR_SIZE,24
|
||||||
env = TERMINAL,alacritty
|
env = TERMINAL,alacritty
|
||||||
|
env = XDG_MENU_PREFIX,arch-
|
||||||
|
|
||||||
|
# For styling
|
||||||
|
env = QT_QPA_PLATFORMTHEME,qt5ct
|
||||||
|
env = QT_QPA_PLATFORM,wayland
|
||||||
|
|
||||||
###################
|
###################
|
||||||
### PERMISSIONS ###
|
### PERMISSIONS ###
|
||||||
@@ -151,7 +164,7 @@ bind = $mainMod, Q, killactive,
|
|||||||
#Exits hyprland
|
#Exits hyprland
|
||||||
bind = $mainMod SHIFT, E, exec, pkill wofi || ~/.scripts/power.sh
|
bind = $mainMod SHIFT, E, exec, pkill wofi || ~/.scripts/power.sh
|
||||||
#Opens file manager (Thunar)
|
#Opens file manager (Thunar)
|
||||||
bind = $mainMod, N, exec, $fileManager
|
bind = $mainMod, B, exec, $fileManager
|
||||||
#Togle floating mode
|
#Togle floating mode
|
||||||
bind = $mainMod, G, togglefloating,
|
bind = $mainMod, G, togglefloating,
|
||||||
#Opens app picker
|
#Opens app picker
|
||||||
@@ -233,9 +246,13 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
|||||||
|
|
||||||
# Example special workspace (scratchpad)
|
# Example special workspace (scratchpad)
|
||||||
#Togles to special front window workspace
|
#Togles to special front window workspace
|
||||||
bind = $mainMod, S, togglespecialworkspace, magic
|
bind = $mainMod, M, togglespecialworkspace, magic
|
||||||
#MOves focused window to special front focused mode
|
#MOves focused window to special front focused mode
|
||||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
bind = $mainMod SHIFT, M, movetoworkspace, special:magic
|
||||||
|
|
||||||
|
#Upper monitor
|
||||||
|
bind = $mainMod, N, workspace, name:UP
|
||||||
|
bind = $mainMod SHIFT, N, movetoworkspace, name:UP
|
||||||
|
|
||||||
# Scroll through existing workspaces with mainMod + scroll
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
#Scrolls trough workspaces with mouse (down)
|
#Scrolls trough workspaces with mouse (down)
|
||||||
@@ -293,6 +310,23 @@ windowrule {
|
|||||||
match:class = org.pulseaudio.pavucontrol
|
match:class = org.pulseaudio.pavucontrol
|
||||||
}
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-mpv
|
||||||
|
fullscreen = on
|
||||||
|
match:class = mpv
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-feh
|
||||||
|
fullscreen = on
|
||||||
|
match:class = feh
|
||||||
|
}
|
||||||
|
|
||||||
|
#Make all windows transparent
|
||||||
|
windowrule = opacity 0.95 override 0.95 override, match:class .*
|
||||||
|
#Except firefox
|
||||||
|
windowrule = opacity 1 override 1 override, match:class firefox
|
||||||
|
|
||||||
######## WORKSPACE BIND ########
|
######## WORKSPACE BIND ########
|
||||||
# Workspaces 1-5 on DP-2
|
# Workspaces 1-5 on DP-2
|
||||||
workspace=1,monitor:DP-2
|
workspace=1,monitor:DP-2
|
||||||
@@ -308,5 +342,8 @@ workspace=8,monitor:DP-3
|
|||||||
workspace=9,monitor:DP-3
|
workspace=9,monitor:DP-3
|
||||||
workspace=10,monitor:DP-3
|
workspace=10,monitor:DP-3
|
||||||
|
|
||||||
|
#Workspace UP
|
||||||
|
workspace=name:UP, gapsin:0, gapsout:0, border:false, monitor:HDMI-A-1
|
||||||
|
|
||||||
# Runs portal
|
# Runs portal
|
||||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
|||||||
@@ -7,6 +7,10 @@
|
|||||||
"spacing": 4, // Gaps between modules (4px)
|
"spacing": 4, // Gaps between modules (4px)
|
||||||
|
|
||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
|
"output": [
|
||||||
|
"DP-2",
|
||||||
|
"DP-3"
|
||||||
|
],
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"hyprland/workspaces"
|
"hyprland/workspaces"
|
||||||
//"hyprland/submap"
|
//"hyprland/submap"
|
||||||
|
|||||||
@@ -95,3 +95,8 @@ recently-used.xbel
|
|||||||
*/metadata/
|
*/metadata/
|
||||||
*/activity/
|
*/activity/
|
||||||
|
|
||||||
|
# --------------------------------------------------
|
||||||
|
# Backups
|
||||||
|
# --------------------------------------------------
|
||||||
|
|
||||||
|
*.bak
|
||||||
|
|||||||
@@ -0,0 +1,35 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
TARGET="$HOME/.saved_cfg"
|
||||||
|
FOLDERS_FILE="$TARGET/folders"
|
||||||
|
|
||||||
|
if [[ ! -f "$FOLDERS_FILE" ]]; then
|
||||||
|
echo "Error: $FOLDERS_FILE not found"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
while IFS= read -r line || [[ -n "$line" ]]; do
|
||||||
|
# Trim whitespace
|
||||||
|
folder="$(echo "$line" | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')"
|
||||||
|
|
||||||
|
# Skip empty lines and comments
|
||||||
|
[[ -z "$folder" || "$folder" =~ ^# ]] && continue
|
||||||
|
|
||||||
|
SRC_PATH="$TARGET/$folder"
|
||||||
|
DEST_PATH="$HOME/$folder"
|
||||||
|
|
||||||
|
if [[ -d "$SRC_PATH" ]]; then
|
||||||
|
echo "Restoring $SRC_PATH -> $DEST_PATH"
|
||||||
|
mkdir -p "$DEST_PATH"
|
||||||
|
|
||||||
|
rsync -av --delete --backup --backup-dir="$HOME/.cfg_restore_backup_$(date +%F_%T)" \
|
||||||
|
--exclude='.git/' \
|
||||||
|
"$SRC_PATH/" "$DEST_PATH/"
|
||||||
|
else
|
||||||
|
echo "Skipping $SRC_PATH (not found)"
|
||||||
|
fi
|
||||||
|
done < "$FOLDERS_FILE"
|
||||||
|
|
||||||
|
echo "Restore complete."
|
||||||
Executable
+35
@@ -0,0 +1,35 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
TARGET="$HOME/.saved_cfg"
|
||||||
|
FOLDERS_FILE="$TARGET/folders"
|
||||||
|
|
||||||
|
if [[ ! -f "$FOLDERS_FILE" ]]; then
|
||||||
|
echo "Error: $FOLDERS_FILE not found"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
while IFS= read -r line || [[ -n "$line" ]]; do
|
||||||
|
# Trim whitespace
|
||||||
|
folder="$(echo "$line" | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')"
|
||||||
|
|
||||||
|
# Skip empty lines and comments
|
||||||
|
[[ -z "$folder" || "$folder" =~ ^# ]] && continue
|
||||||
|
|
||||||
|
SRC_PATH="$TARGET/$folder"
|
||||||
|
DEST_PATH="$HOME/$folder"
|
||||||
|
|
||||||
|
if [[ -d "$SRC_PATH" ]]; then
|
||||||
|
echo "Restoring $SRC_PATH -> $DEST_PATH"
|
||||||
|
mkdir -p "$DEST_PATH"
|
||||||
|
|
||||||
|
rsync -av --delete --backup --backup-dir="$HOME/.cfg_restore_backup_$(date +%F_%T)" \
|
||||||
|
--exclude='.git/' \
|
||||||
|
"$SRC_PATH/" "$DEST_PATH/"
|
||||||
|
else
|
||||||
|
echo "Skipping $SRC_PATH (not found)"
|
||||||
|
fi
|
||||||
|
done < "$FOLDERS_FILE"
|
||||||
|
|
||||||
|
echo "Restore complete."
|
||||||
@@ -2,3 +2,4 @@
|
|||||||
.config/hypr
|
.config/hypr
|
||||||
.config/waybar
|
.config/waybar
|
||||||
.config/wofi
|
.config/wofi
|
||||||
|
.config/alacritty
|
||||||
|
|||||||
+5
-1
@@ -7,9 +7,13 @@ uwsm
|
|||||||
wofi
|
wofi
|
||||||
alacritty
|
alacritty
|
||||||
waybar
|
waybar
|
||||||
thunar
|
dolphin
|
||||||
copyq
|
copyq
|
||||||
greetd
|
greetd
|
||||||
greetd-regreet
|
greetd-regreet
|
||||||
pavucontrol
|
pavucontrol
|
||||||
blueman
|
blueman
|
||||||
|
archlinux-xdg-menu
|
||||||
|
rsync
|
||||||
|
noto-fonts
|
||||||
|
otf-font-awesome
|
||||||
|
|||||||
Reference in New Issue
Block a user