forked from Shinonome/dots-hyprland
Merge branch 'end-4:main' into parallax
This commit is contained in:
@@ -48,7 +48,7 @@ dwindle {
|
|||||||
decoration {
|
decoration {
|
||||||
# 2 = circle, higher = squircle, 4 = very obvious squircle
|
# 2 = circle, higher = squircle, 4 = very obvious squircle
|
||||||
# Clear squircles look really off; we use only extra .4 here to make the rounding feel more continuous
|
# Clear squircles look really off; we use only extra .4 here to make the rounding feel more continuous
|
||||||
rounding_power = 2.4
|
rounding_power = 2
|
||||||
rounding = 18
|
rounding = 18
|
||||||
|
|
||||||
blur {
|
blur {
|
||||||
@@ -81,7 +81,7 @@ decoration {
|
|||||||
# Dim
|
# Dim
|
||||||
dim_inactive = true
|
dim_inactive = true
|
||||||
dim_strength = 0.05
|
dim_strength = 0.05
|
||||||
dim_special = 0.07
|
dim_special = 0.2
|
||||||
}
|
}
|
||||||
|
|
||||||
animations {
|
animations {
|
||||||
@@ -116,7 +116,7 @@ animations {
|
|||||||
animation = specialWorkspaceIn, 1, 2.8, emphasizedDecel, slidevert
|
animation = specialWorkspaceIn, 1, 2.8, emphasizedDecel, slidevert
|
||||||
animation = specialWorkspaceOut, 1, 1.2, emphasizedAccel, slidevert
|
animation = specialWorkspaceOut, 1, 1.2, emphasizedAccel, slidevert
|
||||||
# zoom
|
# zoom
|
||||||
animation = zoomFactor, 1, 3, emphasizedDecel
|
animation = zoomFactor, 1, 3, standardDecel
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
@@ -166,16 +166,3 @@ cursor {
|
|||||||
hotspot_padding = 1
|
hotspot_padding = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
# Overview
|
|
||||||
plugin {
|
|
||||||
hyprexpo {
|
|
||||||
columns = 3
|
|
||||||
gap_size = 5
|
|
||||||
bg_col = rgb(000000)
|
|
||||||
workspace_method = first 1 # [center/first] [workspace] e.g. first 1 or center m+1
|
|
||||||
|
|
||||||
enable_gesture = false # laptop touchpad, 4 fingers
|
|
||||||
gesture_distance = 300 # how far is the "max"
|
|
||||||
gesture_positive = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -251,7 +251,7 @@ bindl= ,XF86AudioPause, exec, playerctl play-pause # [hidden]
|
|||||||
|
|
||||||
##! Apps
|
##! Apps
|
||||||
bind = Super, Return, exec, ~/.config/hypr/hyprland/scripts/launch_first_available.sh "${TERMINAL}" "kitty -1" "foot" "alacritty" "wezterm" "konsole" "kgx" "uxterm" "xterm" # Terminal
|
bind = Super, Return, exec, ~/.config/hypr/hyprland/scripts/launch_first_available.sh "${TERMINAL}" "kitty -1" "foot" "alacritty" "wezterm" "konsole" "kgx" "uxterm" "xterm" # Terminal
|
||||||
bind = Super, T, exec, ~/.config/hypr/hyprland/scripts/launch_first_available.sh "${TERMINAL}" "kitty -1" "foot" "alacritty" "wezterm" "konsole" "kgx" "uxterm" "xterm" # [hidden] (terminal) (alt)
|
bind = Super, T, exec, ~/.config/hypr/hyprland/scripts/launch_first_available.sh "${TERMINAL}" "kitty -1" "foot" "alacritty" "wezterm" "konsole" "kgx" "uxterm" "xterm" # [hidden] (terminal) (alt)
|
||||||
bind = Ctrl+Alt, T, exec, ~/.config/hypr/hyprland/scripts/launch_first_available.sh "${TERMINAL}" "kitty -1" "foot" "alacritty" "wezterm" "konsole" "kgx" "uxterm" "xterm" # [hidden] (terminal) (for Ubuntu people)
|
bind = Ctrl+Alt, T, exec, ~/.config/hypr/hyprland/scripts/launch_first_available.sh "${TERMINAL}" "kitty -1" "foot" "alacritty" "wezterm" "konsole" "kgx" "uxterm" "xterm" # [hidden] (terminal) (for Ubuntu people)
|
||||||
bind = Super, E, exec, ~/.config/hypr/hyprland/scripts/launch_first_available.sh "dolphin" "nautilus" "nemo" "thunar" "${TERMINAL}" "kitty -1 fish -c yazi" # File manager
|
bind = Super, E, exec, ~/.config/hypr/hyprland/scripts/launch_first_available.sh "dolphin" "nautilus" "nemo" "thunar" "${TERMINAL}" "kitty -1 fish -c yazi" # File manager
|
||||||
bind = Super, W, exec, ~/.config/hypr/hyprland/scripts/launch_first_available.sh "google-chrome-stable" "zen-browser" "firefox" "brave" "chromium" "microsoft-edge-stable" "opera" "librewolf" # Browser
|
bind = Super, W, exec, ~/.config/hypr/hyprland/scripts/launch_first_available.sh "google-chrome-stable" "zen-browser" "firefox" "brave" "chromium" "microsoft-edge-stable" "opera" "librewolf" # Browser
|
||||||
|
|||||||
@@ -18,7 +18,20 @@ DockButton {
|
|||||||
property bool appIsActive: appToplevel.toplevels.find(t => (t.activated == true)) !== undefined
|
property bool appIsActive: appToplevel.toplevels.find(t => (t.activated == true)) !== undefined
|
||||||
|
|
||||||
readonly property bool isSeparator: appToplevel.appId === "SEPARATOR"
|
readonly property bool isSeparator: appToplevel.appId === "SEPARATOR"
|
||||||
readonly property var desktopEntry: DesktopEntries.heuristicLookup(appToplevel.appId)
|
property var desktopEntry: DesktopEntries.heuristicLookup(appToplevel.appId)
|
||||||
|
|
||||||
|
Timer {
|
||||||
|
// Retry looking up the desktop entry if it failed (e.g. database not loaded yet)
|
||||||
|
property int retryCount: 5
|
||||||
|
interval: 1000
|
||||||
|
running: !root.isSeparator && root.desktopEntry === null && retryCount > 0
|
||||||
|
repeat: true
|
||||||
|
onTriggered: {
|
||||||
|
retryCount--;
|
||||||
|
root.desktopEntry = DesktopEntries.heuristicLookup(root.appToplevel.appId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
enabled: !isSeparator
|
enabled: !isSeparator
|
||||||
implicitWidth: isSeparator ? 1 : implicitHeight - topInset - bottomInset
|
implicitWidth: isSeparator ? 1 : implicitHeight - topInset - bottomInset
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,20 @@ AppButton {
|
|||||||
|
|
||||||
required property var appEntry
|
required property var appEntry
|
||||||
readonly property bool isSeparator: appEntry.appId === "SEPARATOR"
|
readonly property bool isSeparator: appEntry.appId === "SEPARATOR"
|
||||||
readonly property var desktopEntry: DesktopEntries.heuristicLookup(appEntry.appId)
|
property var desktopEntry: DesktopEntries.heuristicLookup(appEntry.appId)
|
||||||
|
|
||||||
|
Timer {
|
||||||
|
// Retry looking up the desktop entry if it failed (e.g. database not loaded yet)
|
||||||
|
property int retryCount: 5
|
||||||
|
interval: 1000
|
||||||
|
running: !root.isSeparator && root.desktopEntry === null && retryCount > 0
|
||||||
|
repeat: true
|
||||||
|
onTriggered: {
|
||||||
|
retryCount--;
|
||||||
|
root.desktopEntry = DesktopEntries.heuristicLookup(root.appEntry.appId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
property bool active: root.appEntry.toplevels.some(t => t.activated)
|
property bool active: root.appEntry.toplevels.some(t => t.activated)
|
||||||
property bool hasWindows: appEntry.toplevels.length > 0
|
property bool hasWindows: appEntry.toplevels.length > 0
|
||||||
|
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ BodyRectangle {
|
|||||||
id: dayButton
|
id: dayButton
|
||||||
required property var model
|
required property var model
|
||||||
checked: model.today
|
checked: model.today
|
||||||
enabled: hovered || calendarView.scrolling || checked || model.month === calendarView.focusedMonth
|
enabled: hovered || checked || model.month === calendarView.focusedMonth
|
||||||
implicitWidth: calendarView.buttonSize
|
implicitWidth: calendarView.buttonSize
|
||||||
implicitHeight: calendarView.buttonSize
|
implicitHeight: calendarView.buttonSize
|
||||||
radius: height / 2
|
radius: height / 2
|
||||||
|
|||||||
@@ -233,7 +233,7 @@ Singleton {
|
|||||||
Process {
|
Process {
|
||||||
id: updateNetworkStrength
|
id: updateNetworkStrength
|
||||||
running: true
|
running: true
|
||||||
command: ["sh", "-c", "nmcli -f IN-USE,SIGNAL,SSID device wifi | awk '/^\*/{if (NR!=1) {print $2}}'"]
|
command: ["sh", "-c", "nmcli -f IN-USE,SIGNAL,SSID device wifi | awk '/^\\*/{if (NR!=1) {print $2}}'"]
|
||||||
stdout: SplitParser {
|
stdout: SplitParser {
|
||||||
onRead: data => {
|
onRead: data => {
|
||||||
root.networkStrength = parseInt(data);
|
root.networkStrength = parseInt(data);
|
||||||
|
|||||||
Reference in New Issue
Block a user