mirror of
https://github.com/xsghetti/HyprCrux.git
synced 2025-07-02 21:30:39 -04:00
hyprland updates
This commit is contained in:
parent
a379eebea0
commit
e23ba45888
7 changed files with 64 additions and 22 deletions
|
@ -1,8 +1,8 @@
|
||||||
general {
|
general {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
|
|
||||||
gaps_in = 8
|
gaps_in = 4
|
||||||
gaps_out = 20
|
gaps_out = 10
|
||||||
border_size = 2
|
border_size = 2
|
||||||
col.active_border = $foreground
|
col.active_border = $foreground
|
||||||
col.inactive_border = $color4 color6 $color7 $color1 30deg
|
col.inactive_border = $color4 color6 $color7 $color1 30deg
|
||||||
|
|
|
@ -11,14 +11,14 @@ source = ~/.cache/wal/colors-hyprland.conf
|
||||||
#monitor = ,preferred,auto,1
|
#monitor = ,preferred,auto,1
|
||||||
|
|
||||||
#Desktop
|
#Desktop
|
||||||
monitor = DP-1, 1920x1080@100, 0x540, 1
|
monitor = DP-1, 1920x1080@100, 0x0, 1
|
||||||
monitor = HDMI-A-1, 1920x1080@100, auto, 1
|
monitor = HDMI-A-1, 1920x1080@100, auto, 1
|
||||||
monitor = HDMI-A-1, transform, 3
|
# monitor = HDMI-A-1, transform, 3
|
||||||
workspace = 1, persistent:true,monitor:eDP-1,default:true
|
workspace = 1, persistent:true,monitor:DP-1,default:true
|
||||||
workspace = 2, persistent:true,monitor:eDP-1
|
workspace = 2, persistent:true,monitor:DP-1
|
||||||
workspace = 3, persistent:true,monitor:eDP-1
|
workspace = 3, persistent:true,monitor:DP-1
|
||||||
workspace = 4, persistent:true,monitor:eDP-1
|
workspace = 4, persistent:true,monitor:DP-1
|
||||||
workspace = 5, persistent:true,monitor:eDP-1
|
workspace = 5, persistent:true,monitor:DP-1
|
||||||
workspace = 6, persistent:true,monitor:HDMI-A-1
|
workspace = 6, persistent:true,monitor:HDMI-A-1
|
||||||
workspace = 7, persistent:true,monitor:HDMI-A-1
|
workspace = 7, persistent:true,monitor:HDMI-A-1
|
||||||
workspace = 8, persistent:true,monitor:HDMI-A-1
|
workspace = 8, persistent:true,monitor:HDMI-A-1
|
||||||
|
@ -26,12 +26,8 @@ workspace = 9, persistent:true,monitor:HDMI-A-1
|
||||||
workspace = 0, persistent:true,monitor:HDMI-A-1
|
workspace = 0, persistent:true,monitor:HDMI-A-1
|
||||||
|
|
||||||
# Laptop
|
# Laptop
|
||||||
monitor = eDP-1, 1920x1080@144, auto, 1
|
# monitor = eDP-1, 1920x1080@144, auto, 1
|
||||||
workspace = 1, persistent:true,monitor:eDP-1,default:true
|
# workspace = eDP-1,1
|
||||||
workspace = 2, persistent:true,monitor:eDP-1
|
|
||||||
workspace = 3, persistent:true,monitor:eDP-1
|
|
||||||
workspace = 4, persistent:true,monitor:eDP-1
|
|
||||||
workspace = 5, persistent:true,monitor:eDP-1
|
|
||||||
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
|
|
|
@ -69,3 +69,15 @@ label {
|
||||||
halign = center
|
halign = center
|
||||||
valign = bottom
|
valign = bottom
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
label {
|
||||||
|
monitor = HDMI-A-1
|
||||||
|
text = cmd[update:1000] ~/.config/hypr/scripts/time_in_binary.py 1
|
||||||
|
color = rgba(238, 206, 207,0.8)
|
||||||
|
font_size = 25
|
||||||
|
font_family = Noto Sans
|
||||||
|
position = 110, 70
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
|
@ -118,7 +118,7 @@ bind = $mainMod, K, exec, $scrPath/keyboardswitch.sh # change keyboard layout
|
||||||
bind = ALT,tab, exec, ags -t overview
|
bind = ALT,tab, exec, ags -t overview
|
||||||
|
|
||||||
# Hyprexo Keybinding
|
# Hyprexo Keybinding
|
||||||
# bind = ALT, grave,hyprexpo:expo, toggle on
|
bind = ALT, grave,hyprexpo:expo, toggle on
|
||||||
|
|
||||||
# Special Keys
|
# Special Keys
|
||||||
bind = , xf86monbrightnessup, exec, brightnessctl set 10%+
|
bind = , xf86monbrightnessup, exec, brightnessctl set 10%+
|
||||||
|
|
30
.config/hypr/scripts/time_in_binary.py
Normal file
30
.config/hypr/scripts/time_in_binary.py
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
#!/bin/python3
|
||||||
|
|
||||||
|
import datetime
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
def hours_in_binary(hours):
|
||||||
|
hours = bin(hours)[2:]
|
||||||
|
if len(hours) < 4:
|
||||||
|
hours = "0" * (4 - len(hours)) + hours
|
||||||
|
return hours.replace("1", "●").replace("0", "○")
|
||||||
|
|
||||||
|
|
||||||
|
def minutes_in_binary(minutes):
|
||||||
|
minutes = bin(minutes)[2:]
|
||||||
|
if len(minutes) < 6:
|
||||||
|
minutes = "0" * (6 - len(minutes)) + minutes
|
||||||
|
return minutes.replace("1", "●").replace("0", "○")
|
||||||
|
|
||||||
|
|
||||||
|
def seconds_in_binary(seconds):
|
||||||
|
return minutes_in_binary(seconds)
|
||||||
|
|
||||||
|
|
||||||
|
t = datetime.datetime.now()
|
||||||
|
fun = [hours_in_binary, minutes_in_binary, seconds_in_binary]
|
||||||
|
time = [t.hour, t.minute, t.second]
|
||||||
|
if __name__ == "__main__":
|
||||||
|
args = int(sys.argv[1])
|
||||||
|
print(fun[args](time[args]))
|
|
@ -10,8 +10,8 @@ windowrulev2= opacity 0.80 0.80,class:^(waypaper)$
|
||||||
windowrulev2= opacity 0.80 0.80,class:^(dolphin)$
|
windowrulev2= opacity 0.80 0.80,class:^(dolphin)$
|
||||||
windowrulev2= opacity 0.80 0.80,class:^(discord)$
|
windowrulev2= opacity 0.80 0.80,class:^(discord)$
|
||||||
windowrulev2= opacity 0.80 0.80,class:^(lutris)$
|
windowrulev2= opacity 0.80 0.80,class:^(lutris)$
|
||||||
windowrulev2= opacity 1.00 1.00,class:^(firefox)$
|
|
||||||
windowrulev2= opacity 0.80 0.80,class:^(steam)$
|
windowrulev2= opacity 0.80 0.80,class:^(steam)$
|
||||||
|
windowrulev2= opacity 0.80 0.80,class:^(kitty)$
|
||||||
windowrulev2 = float,class:^(nwg-look)$
|
windowrulev2 = float,class:^(nwg-look)$
|
||||||
windowrulev2 = float,class:^(org.kde.ark)$
|
windowrulev2 = float,class:^(org.kde.ark)$
|
||||||
windowrulev2 = float,class:^(eog)$ #Imageviewer-Gtk
|
windowrulev2 = float,class:^(eog)$ #Imageviewer-Gtk
|
||||||
|
@ -28,3 +28,7 @@ windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$
|
||||||
layerrule = blur, rofi
|
layerrule = blur, rofi
|
||||||
layerrule = animation popin,rofi
|
layerrule = animation popin,rofi
|
||||||
layerrule = ignorezero, rofi
|
layerrule = ignorezero, rofi
|
||||||
|
layerrule = blur, swaync-control-center
|
||||||
|
layerrule = blur, swaync-notification-window
|
||||||
|
layerrule = ignorezero, swaync-control-center
|
||||||
|
layerrule = ignorezero, swaync-notification-window
|
||||||
|
|
|
@ -4,7 +4,7 @@ italic_font auto
|
||||||
bold_italic_font auto
|
bold_italic_font auto
|
||||||
|
|
||||||
window_padding_width 25
|
window_padding_width 25
|
||||||
background_opacity 0.3
|
background_opacity 1.0
|
||||||
hide_window_decorations yes
|
hide_window_decorations yes
|
||||||
confirm_os_window_close 0
|
confirm_os_window_close 0
|
||||||
include ~/.cache/wal/colors-kitty.conf
|
include ~/.cache/wal/colors-kitty.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue