update
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor= DP-3, 1920x1080, 0x0, 1
|
||||
monitor= HDMI-A-1, 1920x1080, 1920x0, 1
|
||||
|
||||
|
||||
@@ -72,6 +71,7 @@ env = HYPRCURSOR_SIZE,24
|
||||
general {
|
||||
gaps_in = 2
|
||||
gaps_out = 2
|
||||
|
||||
border_size = 0
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||
@@ -267,13 +267,13 @@ bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# resize windows
|
||||
bindel = $mainMod SHIFT, right, resizeactive, 20 0
|
||||
bindel = $mainMod SHIFT, left, resizeactive, -20 0
|
||||
bindel = $mainMod SHIFT, up, resizeactive, 0, -20
|
||||
bindel = $mainMod SHIFT, down, resizeactive, 0, 20
|
||||
bindel = $mainMod SHIFT, right, resizeactive, 50 0
|
||||
bindel = $mainMod SHIFT, left, resizeactive, -50 0
|
||||
bindel = $mainMod SHIFT, up, resizeactive, 0, -50
|
||||
bindel = $mainMod SHIFT, down, resizeactive, 0, 50
|
||||
|
||||
# On/Off monitors
|
||||
bind = $mainMod CTRL, L, exec, sleep 0.5 && hyprctl dispatch dpms toggle DP-3
|
||||
bind = $mainMod CTRL, L, exec, sleep 0.5 && hyprctl dispatch dpms toggle HDMI-A-1
|
||||
|
||||
##############################
|
||||
### WINDOWS AND WORKSPACES ###
|
||||
@@ -316,3 +316,9 @@ windowrule {
|
||||
|
||||
no_focus = true
|
||||
}
|
||||
debug {
|
||||
overlay = false
|
||||
disable_logs = false
|
||||
gl_debugging = true
|
||||
enable_stdout_logs = true
|
||||
}
|
||||
|
||||
@@ -166,6 +166,43 @@ Variants {
|
||||
|
||||
spacing: 5
|
||||
|
||||
InfoBox {
|
||||
InfoText {
|
||||
text: "vpn"
|
||||
font.pixelSize: 10
|
||||
}
|
||||
}
|
||||
|
||||
InfoBox {
|
||||
InfoText {
|
||||
text: "on"
|
||||
font.pixelSize: 10
|
||||
color: "green"
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: Quickshell.execDetached(["kitty", "-e", "vpn_on"])
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
}
|
||||
}
|
||||
|
||||
InfoBox {
|
||||
InfoText {
|
||||
text: "off"
|
||||
font.pixelSize: 10
|
||||
color: "brown"
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: Quickshell.execDetached(["kitty", "-e", "vpn_off"])
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
}
|
||||
}
|
||||
|
||||
Separator {}
|
||||
|
||||
Repeater {
|
||||
model: Qt.formatDateTime(clock.date, "hh:mm").split(":")
|
||||
InfoBox {
|
||||
@@ -176,11 +213,12 @@ Variants {
|
||||
}
|
||||
|
||||
InfoBox {
|
||||
color: "black"
|
||||
InfoText {
|
||||
property var ss: Qt.formatDateTime(clock.date, "ss")
|
||||
|
||||
text: ss
|
||||
font.bold: false
|
||||
color: "white"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user