AGS, Hyprland, BTop, Fish, Alacritty, Yazi

Removed eww and added simple ags config
Removed kitty and added alacritty
Removed ranger  and added yazi
Added btop
Edited packages
Edited other configs
Removed waybar
This commit is contained in:
2024-03-26 01:28:40 +01:00
parent 3bdd0fc0ea
commit c53268e307
43 changed files with 584 additions and 4354 deletions

View File

@@ -0,0 +1,5 @@
# Devices
device {
name = roccat-roccat-kone-emp-mouse
sensitivity = -0.5
}

View File

@@ -1,7 +1,11 @@
## Environment
# Environment
env = XCURSOR_SIZE,24
env = HYPRCURSOR_THEME,breeze_cursor
env = XDG_SESSION_TYPE,wayland
env = WLR_NO_HARDWARE_CURSORS,1
env = QT_QPA_PLATFORMTHEME,qt5ct
#env = QT_QPA_PLATFORM,wayland
env = QT_STYLE_OVERRIDE,kvantum
# Minecraft
env = __GL_THREADED_OPTIMIZATIONS,0

51
.config/hypr/hyprland.conf Executable file → Normal file
View File

@@ -1,24 +1,24 @@
## Environment
# Env
source = ~/.config/hypr/env.conf
# Nvidia
# source = ~/.config/hypr/nvidia.conf
## Keybinds
# Keybinds
source = ~/.config/hypr/keybinds.conf
## Monitors/Workspaces
# Monitors/Workspaces
source = ~/.config/hypr/windowrule.conf
## Startup
# Startup
source = ~/.config/hypr/startup.conf
## Input
# Devices
source = ~/.config/hypr/devices.conf
# Input
input {
kb_layout = de
kb_variant =
kb_model =
kb_options =
kb_rules =
numlock_by_default = 1
follow_mouse = 1
@@ -26,16 +26,12 @@ input {
touchpad {
natural_scroll = yes
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}
## General
# General
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 5
gaps_out = 5
gaps_in = 2
gaps_out = 2
border_size = 2
col.active_border = rgba(7dc4e4ee) rgba(7dc4e4ee) 45deg
col.inactive_border = rgba(595959aa)
@@ -43,10 +39,8 @@ general {
layout = dwindle
}
## Decoration
# Decoration
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 0
blur {
@@ -67,12 +61,10 @@ decoration {
col.shadow = rgba(1a1a1aee)
}
## Animations
# Animations
animations {
enabled = yes
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
@@ -83,29 +75,24 @@ animations {
animation = workspaces, 1, 6, default
}
## Dwindle
# Dwindle
dwindle {
pseudotile = yes
preserve_split = yes # you probably want thisr
preserve_split = yes
}
## Master
# Master
master {
new_is_master = true
}
## Gestures
# Gestures
gestures {
workspace_swipe = on
}
## Misc
# Misc
misc {
#mouse_move_enables_dpms = true
key_press_enables_dpms = true
}
## Devices
device:roccat-roccat-kone-emp-mouse {
sensitivity = 0.5
}

View File

@@ -1,4 +1,4 @@
## Keybindings
# Keybindings
$mainMod = SUPER
# General
@@ -33,7 +33,7 @@ binde = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
binde = , XF86MonBrightnessUp, exec, brightnessctl set 5%+
# Applications
bind = $mainMod, T, exec, kitty
bind = $mainMod, T, exec, alacritty
bind = $mainMod, E, exec, thunar || dolphin
bind = $mainMod, G, exec, ~/.config/hypr/scripts/app_launcher.sh c
bind = CTRL SHIFT, ESCAPE, exec, gnome-system-monitor
@@ -48,6 +48,10 @@ bind = $mainMod, K, movefocus, u
bind = $mainMod, down, movefocus, d
bind = $mainMod, J, movefocus, d
# Scrachtpad
bind = $mainMod CTRL, 2, togglespecialworkspace,
bind = $mainMod CTRL, 1, movetoworkspace, special
# Move window
bind = $mainMod SHIFT, left, movewindow, l
bind = $mainMod SHIFT, H, movewindow, l
@@ -60,14 +64,14 @@ bind = $mainMod SHIFT, J, movewindow, d
bindm = $mainMod, mouse:272, movewindow
# Resize windows
binde = $mainMod CTRL, left, resizeactive, -10 0
binde = $mainMod CTRL, h, resizeactive, -10 0
binde = $mainMod CTRL, right, resizeactive, 10 0
binde = $mainMod CTRL, l, resizeactive, 10 0
binde = $mainMod CTRL, up, resizeactive, 0 -10
binde = $mainMod CTRL, k, resizeactive, 0 -10
binde = $mainMod CTRL, down, resizeactive, 0 10
binde = $mainMod CTRL, j, resizeactive, 0 10
binde = $mainMod CTRL, left, resizeactive, -20 0
binde = $mainMod CTRL, h, resizeactive, -20 0
binde = $mainMod CTRL, right, resizeactive, 20 0
binde = $mainMod CTRL, l, resizeactive, 20 0
binde = $mainMod CTRL, up, resizeactive, 0 -20
binde = $mainMod CTRL, k, resizeactive, 0 -20
binde = $mainMod CTRL, down, resizeactive, 0 20
binde = $mainMod CTRL, j, resizeactive, 0 20
bindm = $mainMod, mouse:273, resizewindow
# Move active window to a workspace

View File

@@ -1,4 +1,4 @@
## Nvidia env
# Nvidia env
env = GBM_BACKEND,nvidia-drm
env = LIBVA_DRIVER_NAME,nvidia
env = __GLX_VENDOR_LIBRARY_NAME,nvidia

View File

@@ -8,12 +8,10 @@ if [ -z $bat ]; then
fi
while true; do
upower=$(upower -i $bat)
state=$(echo "$upower" | grep state | awk '{print $2}')
per=$(echo "$upower" | grep percentage | awk '{print $2}')
per=$(upower -i $bat | grep percentage | awk '{print $2}')
per="${per%\%}"
if [ "$per" -lt 15 ] && [ "$state" != "charging" ]; then
if "$per" -lt 15 #&& ! is_charging
eww open battery_warning
fi

6
.config/hypr/scripts/logout.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
HYPRCMDS=$(hyprctl -j clients | jq -j '.[] | "dispatch closewindow address:\(.address); "')
hyprctl --batch "$HYPRCMDS" >> /tmp/hypr/cexit.log 2>&1
hyprctl dispatch exit >> /tmp/hypr/cexit.log 2>&1

View File

@@ -1,10 +1,11 @@
exec-once = ~/.config/hypr/scripts/bar.sh #Has to be first -> Systray
## Programms
exec-once = ~/.config/hypr/scripts/wait_for_tray.sh && discord
exec-once = ~/.config/hypr/scripts/wait_for_tray.sh && nextcloud
exec-once = ~/.config/hypr/scripts/wait_for_tray.sh && youtube-music
# First for systray
exec-once = ags -c /home/keule/test/config.js
# Programms
exec-once = webcord
exec-once = nextcloud
exec-once = youtube-music
exec-once = element-desktop
exec-once = swaync
exec-once = nm-applet
exec-once = blueman-applet
@@ -14,12 +15,12 @@ exec-once = indicator-mic-cam
exec-once = ~/.config/hypr/scripts/idle.sh
exec-once = ~/.config/hypr/scripts/battery_check.sh
## Clipboard
# Clipboard
exec-once = wl-paste --type text --watch cliphist store #Stores only text data
exec-once = wl-paste --type image --watch cliphist store #Stores only image data
## Background
# Background
exec-once = ~/.config/hypr/scripts/background.sh ~/Data/Pictures/Backgrounds/Desktop/
## Misc
# Misc
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

View File

@@ -1 +0,0 @@
link for lock and rofi

View File

@@ -0,0 +1 @@
/home/keule/Data/Pictures/Backgrounds/Desktop/144565.jpg

View File

@@ -1,4 +1,4 @@
## Monitors
# Monitors
$monitorOne = HDMI-A-1
$monitorTwo = DP-2
$monitorThree = HDMI-A-2
@@ -9,12 +9,12 @@ monitor = $monitorThree,1920x1080@60.000000,4480x0,1
monitor = ,preferred,auto,1
## Window Rules - (hyprctl -j clients | grep class)
# Window Rules - (hyprctl -j clients | grep class)
windowrule = workspace 2,^(YouTube Music)$
windowrule = workspace 4,^(explorer.exe)$
windowrule = workspace 4, ^(league of legends.exe)$
windowrule = workspace 4,^(lutris)$
windowrule = workspace 5,^(discord)$
windowrule = workspace 5,^(Webcord)$
windowrule = workspace 5,^(de.keule.client.ui.JavaFX)$
windowrule = float,^(lutris)$
@@ -22,7 +22,7 @@ windowrule = size 965 545, ^(lutris)$
windowrule = float,title:^.*culator.*$
## Workspace
# Workspace
workspace = 1, monitor:$monitorOne, default:true
workspace = 2, monitor:$monitorOne