mirror of
https://github.com/gaitas13/dotfiles.git
synced 2025-12-06 07:15:37 +01:00
updated hyprland and sway settings
This commit is contained in:
parent
bb9a0aabf6
commit
bcdafe12e0
20 changed files with 788 additions and 27 deletions
|
|
@ -14,8 +14,8 @@ monitor=,preferred,auto,1.25
|
||||||
# See here: https://github.com/hyprwm/Hyprland/issues/4090
|
# See here: https://github.com/hyprwm/Hyprland/issues/4090
|
||||||
|
|
||||||
#monitor = eDP-1, preferred, auto, 1
|
#monitor = eDP-1, preferred, auto, 1
|
||||||
monitor = eDP-1, 1920x1080@120, 0x0, 1 #own screen
|
monitor = eDP-1, 1920x1080@120, 0x0, 1.25 #own screen
|
||||||
#monitor = DP-3, 1920x1080@240, auto, 1
|
#monitor = DP-3, 1920x1080@240, auto, 1
|
||||||
#monitor = DP-1, preferred, auto, 1
|
#monitor = DP-1, preferred, auto, 1
|
||||||
#monitor = HDMI-A-1, preferred,auto,1
|
#monitor = HDMI-A-1, preferred,auto,1
|
||||||
|
|
||||||
|
|
@ -45,4 +45,3 @@ monitor = eDP-1, 1920x1080@120, 0x0, 1 #own screen
|
||||||
#monitor=eDP-1,transform,0
|
#monitor=eDP-1,transform,0
|
||||||
#monitor=eDP-1,addreserved,10,10,10,49
|
#monitor=eDP-1,addreserved,10,10,10,49
|
||||||
#workspace=eDP-1,1
|
#workspace=eDP-1,1
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,21 +9,21 @@
|
||||||
# blurls = waybar
|
# blurls = waybar
|
||||||
# blurls = rofi
|
# blurls = rofi
|
||||||
|
|
||||||
dwindle {
|
#dwindle {
|
||||||
pseudotile = yes
|
# pseudotile = yes
|
||||||
preserve_split = yes
|
# preserve_split = yes
|
||||||
special_scale_factor = 0.8
|
# special_scale_factor = 0.8
|
||||||
}
|
#}
|
||||||
|
|
||||||
master {
|
#master {
|
||||||
new_is_master=1
|
# new_is_master=1
|
||||||
new_on_top=1
|
# new_on_top=1
|
||||||
mfact = 0.5
|
# mfact = 0.5
|
||||||
}
|
#}
|
||||||
|
|
||||||
general {
|
general {
|
||||||
sensitivity=1.00
|
# sensitivity=1.00
|
||||||
apply_sens_to_raw=1
|
# apply_sens_to_raw=1
|
||||||
gaps_in = 4
|
gaps_in = 4
|
||||||
gaps_out = 8
|
gaps_out = 8
|
||||||
border_size = 2
|
border_size = 2
|
||||||
|
|
@ -132,7 +132,7 @@ misc {
|
||||||
mouse_move_enables_dpms = true
|
mouse_move_enables_dpms = true
|
||||||
#vrr = 0
|
#vrr = 0
|
||||||
enable_swallow = true
|
enable_swallow = true
|
||||||
no_direct_scanout = true #for fullscreen games
|
# no_direct_scanout = true #for fullscreen games
|
||||||
focus_on_activate = false
|
focus_on_activate = false
|
||||||
swallow_regex = ^(kitty)$
|
swallow_regex = ^(kitty)$
|
||||||
#disable_autoreload = true
|
#disable_autoreload = true
|
||||||
|
|
|
||||||
153
.config/hypr/hyprlock-1080p.conf
Normal file
153
.config/hypr/hyprlock-1080p.conf
Normal file
|
|
@ -0,0 +1,153 @@
|
||||||
|
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
|
||||||
|
# Hyprlock config for =< 1080p monitor resolutions
|
||||||
|
# Original config submitted by https://github.com/SherLock707
|
||||||
|
|
||||||
|
# Sourcing colors generated by wallust
|
||||||
|
source = $HOME/.config/hypr/wallust/wallust-hyprland.conf
|
||||||
|
$Scripts = $HOME/.config/hypr/scripts
|
||||||
|
|
||||||
|
general {
|
||||||
|
grace = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
background {
|
||||||
|
monitor =
|
||||||
|
# NOTE: use only 1 path
|
||||||
|
#path = screenshot # screenshot of your desktop
|
||||||
|
path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_modified # NOTE only png supported for now
|
||||||
|
#path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_current # current wallpaper
|
||||||
|
|
||||||
|
#color = $color7
|
||||||
|
|
||||||
|
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||||
|
blur_size = 5
|
||||||
|
blur_passes = 1 # 0 disables blurring
|
||||||
|
noise = 0.0117
|
||||||
|
contrast = 1.3000 # Vibrant!!!
|
||||||
|
brightness = 0.8000
|
||||||
|
vibrancy = 0.2100
|
||||||
|
vibrancy_darkness = 0.0
|
||||||
|
}
|
||||||
|
|
||||||
|
input-field {
|
||||||
|
monitor =
|
||||||
|
size = 250, 50
|
||||||
|
outline_thickness = 3
|
||||||
|
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
|
||||||
|
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
|
||||||
|
dots_center = true
|
||||||
|
outer_color = $color5
|
||||||
|
inner_color = $color0
|
||||||
|
font_color = $color12
|
||||||
|
fade_on_empty = true
|
||||||
|
placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty.
|
||||||
|
hide_input = false
|
||||||
|
|
||||||
|
position = 0, 80
|
||||||
|
halign = center
|
||||||
|
valign = bottom
|
||||||
|
}
|
||||||
|
|
||||||
|
# Date
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:18000000] echo "<b> "$(date +'%A, %-d %B %Y')" </b>"
|
||||||
|
color = $color12
|
||||||
|
font_size = 34
|
||||||
|
font_family = JetBrains Mono Nerd Font 10
|
||||||
|
position = 0, -80
|
||||||
|
halign = center
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# Hour-Time
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo "$(date +"%H")"
|
||||||
|
# text = cmd[update:1000] echo "$(date +"%I")" #AM/PM
|
||||||
|
color = rgba(255, 185, 0, .8)
|
||||||
|
font_size = 150
|
||||||
|
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||||
|
position = 0, -200
|
||||||
|
halign = center
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# Minute-Time
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo "$(date +"%M")"
|
||||||
|
color = rgba(15, 10, 222, .8)
|
||||||
|
font_size = 150
|
||||||
|
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||||
|
position = 0, -450
|
||||||
|
halign = center
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# Seconds-Time
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo "$(date +"%S")"
|
||||||
|
# text = cmd[update:1000] echo "$(date +"%S %p")" #AM/PM
|
||||||
|
color = $color7
|
||||||
|
font_size = 20
|
||||||
|
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||||
|
position = 0, -450
|
||||||
|
halign = center
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# User
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = $USER
|
||||||
|
color = $color10
|
||||||
|
font_size = 18
|
||||||
|
font_family = Inter Display Medium
|
||||||
|
|
||||||
|
position = 0, 20
|
||||||
|
halign = center
|
||||||
|
valign = bottom
|
||||||
|
}
|
||||||
|
|
||||||
|
# uptime
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:60000] echo "<b> "$(uptime -p || $Scripts/UptimeNixOS.sh)" </b>"
|
||||||
|
color = $color10
|
||||||
|
font_size = 24
|
||||||
|
font_family = JetBrains Mono Nerd Font 10
|
||||||
|
position = 0, 0
|
||||||
|
halign = right
|
||||||
|
valign = bottom
|
||||||
|
}
|
||||||
|
|
||||||
|
# weather edit the scripts for locations
|
||||||
|
# weather scripts are located in ~/.config/hypr/UserScripts Weather.sh and/or Weather.py
|
||||||
|
# see https://github.com/JaKooLit/Hyprland-Dots/wiki/TIPS#%EF%B8%8F-weather-app-related-for-waybar-and-hyprlock
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:3600000] [ -f ~/.cache/.weather_cache ] && cat ~/.cache/.weather_cache
|
||||||
|
color = $color10
|
||||||
|
font_size = 24
|
||||||
|
font_family = JetBrains Mono Nerd Font 10
|
||||||
|
position = 50, 0
|
||||||
|
halign = left
|
||||||
|
valign = bottom
|
||||||
|
}
|
||||||
|
|
||||||
|
# Put a picture of choice here. Default is the current wallpaper
|
||||||
|
image {
|
||||||
|
monitor =
|
||||||
|
path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_current
|
||||||
|
size = 150
|
||||||
|
rounding = -1
|
||||||
|
border_size = 2
|
||||||
|
border_color = $color11
|
||||||
|
rotate = 0
|
||||||
|
reload_time = -1
|
||||||
|
position = 0, 180
|
||||||
|
halign = center
|
||||||
|
valign = bottom
|
||||||
|
}
|
||||||
153
.config/hypr/hyprlock-4k.conf
Normal file
153
.config/hypr/hyprlock-4k.conf
Normal file
|
|
@ -0,0 +1,153 @@
|
||||||
|
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
|
||||||
|
# Hyprlock config for => 2k monitor resolutions
|
||||||
|
# Original config submitted by https://github.com/SherLock707
|
||||||
|
|
||||||
|
# Sourcing colors generated by wallust
|
||||||
|
source = $HOME/.config/hypr/wallust/wallust-hyprland.conf
|
||||||
|
$Scripts = $HOME/.config/hypr/scripts
|
||||||
|
|
||||||
|
general {
|
||||||
|
grace = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
background {
|
||||||
|
monitor =
|
||||||
|
# NOTE: use only 1 path
|
||||||
|
#path = screenshot # screenshot of your desktop
|
||||||
|
path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_modified # NOTE only png supported for now
|
||||||
|
#path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_current # current wallpaper
|
||||||
|
|
||||||
|
#color = $color7
|
||||||
|
|
||||||
|
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||||
|
blur_size = 5
|
||||||
|
blur_passes = 1 # 0 disables blurring
|
||||||
|
noise = 0.0117
|
||||||
|
contrast = 1.3000 # Vibrant!!!
|
||||||
|
brightness = 0.8000
|
||||||
|
vibrancy = 0.2100
|
||||||
|
vibrancy_darkness = 0.0
|
||||||
|
}
|
||||||
|
|
||||||
|
input-field {
|
||||||
|
monitor =
|
||||||
|
size = 250, 50
|
||||||
|
outline_thickness = 3
|
||||||
|
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
|
||||||
|
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
|
||||||
|
dots_center = true
|
||||||
|
outer_color = $color5
|
||||||
|
inner_color = $color0
|
||||||
|
font_color = $color12
|
||||||
|
fade_on_empty = true
|
||||||
|
placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty.
|
||||||
|
hide_input = false
|
||||||
|
|
||||||
|
position = 0, 200
|
||||||
|
halign = center
|
||||||
|
valign = bottom
|
||||||
|
}
|
||||||
|
|
||||||
|
# Date
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:18000000] echo "<b> "$(date +'%A, %-d %B %Y')" </b>"
|
||||||
|
color = $color12
|
||||||
|
font_size = 34
|
||||||
|
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||||
|
position = 0, -100
|
||||||
|
halign = center
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# Hour-Time
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo "$(date +"%H")"
|
||||||
|
# text = cmd[update:1000] echo "$(date +"%I")" #AM/PM
|
||||||
|
color = rgba(255, 185, 0, .8)
|
||||||
|
font_size = 200
|
||||||
|
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||||
|
position = 0, -200
|
||||||
|
halign = center
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# Minute-Time
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo "$(date +"%M")"
|
||||||
|
color = rgba(15, 10, 222, .8)
|
||||||
|
font_size = 200
|
||||||
|
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||||
|
position = 0, -500
|
||||||
|
halign = center
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# Seconds-Time
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo "$(date +"%S")"
|
||||||
|
# text = cmd[update:1000] echo "$(date +"%S %p")" #AM/PM
|
||||||
|
color = $color7
|
||||||
|
font_size = 40
|
||||||
|
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||||
|
position = 0, -500
|
||||||
|
halign = center
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# User
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = $USER
|
||||||
|
color = $color10
|
||||||
|
font_size = 18
|
||||||
|
font_family = Inter Display Medium
|
||||||
|
|
||||||
|
position = 0, 100
|
||||||
|
halign = center
|
||||||
|
valign = bottom
|
||||||
|
}
|
||||||
|
|
||||||
|
# uptime
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:60000] echo "<b> "$(uptime -p || $Scripts/UptimeNixOS.sh)" </b>"
|
||||||
|
color = $color12
|
||||||
|
font_size = 24
|
||||||
|
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||||
|
position = 0, 0
|
||||||
|
halign = right
|
||||||
|
valign = bottom
|
||||||
|
}
|
||||||
|
|
||||||
|
# weather edit the scripts for locations
|
||||||
|
# weather scripts are located in ~/.config/hypr/UserScripts Weather.sh and/or Weather.py
|
||||||
|
# see https://github.com/JaKooLit/Hyprland-Dots/wiki/TIPS#%EF%B8%8F-weather-app-related-for-waybar-and-hyprlock
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:3600000] [ -f ~/.cache/.weather_cache ] && cat ~/.cache/.weather_cache
|
||||||
|
color = $color12
|
||||||
|
font_size = 24
|
||||||
|
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||||
|
position = 50, 0
|
||||||
|
halign = left
|
||||||
|
valign = bottom
|
||||||
|
}
|
||||||
|
|
||||||
|
# Put a picture of choice here. Default is the current wallpaper
|
||||||
|
image {
|
||||||
|
monitor =
|
||||||
|
path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_current
|
||||||
|
size = 230
|
||||||
|
rounding = -1
|
||||||
|
border_size = 2
|
||||||
|
border_color = $color11
|
||||||
|
rotate = 0
|
||||||
|
reload_time = -1
|
||||||
|
position = 0, 300
|
||||||
|
halign = center
|
||||||
|
valign = bottom
|
||||||
|
}
|
||||||
1
.config/hypr/hyprlock.conf
Symbolic link
1
.config/hypr/hyprlock.conf
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
hyprlock-1080p.conf
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
/home/ja/Pictures/wallpapers/CuteCat.png
|
|
||||||
|
|
@ -20,7 +20,8 @@ configuration {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Load pywal colors (custom wal template) ---- */
|
/* ---- Load pywal colors (custom wal template) ---- */
|
||||||
@import "~/.config/rofi/pywal-color/pywal-theme.rasi"
|
@theme "themelink"
|
||||||
|
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,8 @@ configuration {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Load pywal colors (custom wal template) ---- */
|
/* ---- Load pywal colors (custom wal template) ---- */
|
||||||
@import "~/.config/rofi/pywal-color/pywal-theme.rasi"
|
@theme "themelink"
|
||||||
|
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,8 @@ configuration {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Load pywal colors (custom wal template) ---- */
|
/* ---- Load pywal colors (custom wal template) ---- */
|
||||||
@import "~/.config/rofi/pywal-color/pywal-theme.rasi"
|
@theme "themelink"
|
||||||
|
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,9 @@ configuration {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Load pywal colors (custom wal template) ---- */
|
/* ---- Load pywal colors (custom wal template) ---- */
|
||||||
@import "~/.config/rofi/pywal-color/pywal-theme.rasi"
|
@theme "themelink"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,8 @@ configuration {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Load pywal colors (custom wal template) ---- */
|
/* ---- Load pywal colors (custom wal template) ---- */
|
||||||
@import "~/.config/rofi/pywal-color/pywal-theme.rasi"
|
@theme "themelink"
|
||||||
|
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,8 @@ configuration {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Load pywal colors (custom wal template) ---- */
|
/* ---- Load pywal colors (custom wal template) ---- */
|
||||||
@import "~/.config/rofi/pywal-color/pywal-theme.rasi"
|
@theme "themelink"
|
||||||
|
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ configuration {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Load pywal colors (custom wal template) ---- */
|
/* ---- Load pywal colors (custom wal template) ---- */
|
||||||
@import "~/.config/rofi/pywal-color/pywal-theme.rasi"
|
@theme "themelink"
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,8 @@ configuration {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Load pywal colors (custom wal template) ---- */
|
/* ---- Load pywal colors (custom wal template) ---- */
|
||||||
@import "~/.config/rofi/pywal-color/pywal-theme.rasi"
|
@theme "themelink"
|
||||||
|
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ configuration {
|
||||||
/* ---- Load pywal colors (custom wal template) ---- */
|
/* ---- Load pywal colors (custom wal template) ---- */
|
||||||
// @import "~/.config/rofi/pywal-color/pywal-theme.rasi"
|
// @import "~/.config/rofi/pywal-color/pywal-theme.rasi"
|
||||||
|
|
||||||
@theme "catppuccin-macchiato-custom"
|
@theme "themelink"
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
/home/dana/.cache/wal/colors-rofi-dark.rasi
|
|
||||||
362
.config/sway/config
Normal file
362
.config/sway/config
Normal file
|
|
@ -0,0 +1,362 @@
|
||||||
|
# Read `man 5 sway` for a complete reference.
|
||||||
|
|
||||||
|
### Variables
|
||||||
|
|
||||||
|
# Logo key. Use Mod1 for Alt.
|
||||||
|
set $mod Mod4
|
||||||
|
#set $background ~/Pictures/wallpaper/arch.jpg
|
||||||
|
|
||||||
|
# Your preferred terminal emulator
|
||||||
|
set $term kitty
|
||||||
|
|
||||||
|
# Your preferred application launcher
|
||||||
|
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||||
|
# on the original workspace that the command was run on.
|
||||||
|
#set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||||
|
|
||||||
|
set $menu wofi --show run
|
||||||
|
#set $menu mounch -p
|
||||||
|
#bindsym $mod+d exec
|
||||||
|
|
||||||
|
# Start your launcher
|
||||||
|
bindsym $mod+d exec $menu|xargs swaymsg exec --
|
||||||
|
|
||||||
|
# Home row direction keys, like vim
|
||||||
|
set $left h
|
||||||
|
set $down j
|
||||||
|
set $up k
|
||||||
|
set $right l
|
||||||
|
|
||||||
|
# Workspaces
|
||||||
|
set $ws1 "1 "
|
||||||
|
set $ws2 "2 "
|
||||||
|
set $ws3 "3 "
|
||||||
|
set $ws4 "4 "
|
||||||
|
set $ws5 "5 "
|
||||||
|
set $ws6 "6 "
|
||||||
|
set $ws7 "7 "
|
||||||
|
set $ws8 "8 "
|
||||||
|
set $ws9 "9 "
|
||||||
|
set $ws10 "10"
|
||||||
|
|
||||||
|
set $bg #000000
|
||||||
|
set $br #1F51FF
|
||||||
|
set $brbug #FF0000
|
||||||
|
set $textColor #cbccc6
|
||||||
|
|
||||||
|
# class border backgr. text indicator child_border
|
||||||
|
client.focused $br $br $textColor $brbug $br
|
||||||
|
|
||||||
|
#output configurations
|
||||||
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
|
|
||||||
|
|
||||||
|
#xdg-desktop-portal-wlr
|
||||||
|
#exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||||
|
|
||||||
|
output eDP-1 scale 1.25
|
||||||
|
#output eDP-1 mode 2560x1440@165.003Hz position 0,0 adaptive_sync on
|
||||||
|
#output DP-3 mode 2560x1440 position 0,0 adaptive_sync on
|
||||||
|
#output HDMI-A-1 res 2560x1440 position 0,0
|
||||||
|
|
||||||
|
#wallpaper
|
||||||
|
#output * bg $background fill
|
||||||
|
|
||||||
|
#way-displays
|
||||||
|
#exec way-displays > /tmp/way-displays.${XDG_VTNR}.${USER}.log 2>&1
|
||||||
|
|
||||||
|
#windows borders
|
||||||
|
|
||||||
|
gaps inner 10
|
||||||
|
gaps outer 8
|
||||||
|
#smart_gaps on
|
||||||
|
default_border pixel 2
|
||||||
|
default_floating_border normal
|
||||||
|
hide_edge_borders smart
|
||||||
|
#smart_borders on
|
||||||
|
focus_follows_mouse no
|
||||||
|
floating_modifier $mod normal
|
||||||
|
font CascadiaCodePLSemiBoldItalic 10
|
||||||
|
#
|
||||||
|
#font
|
||||||
|
#font pango: CascadiaCodePLSemiBoldItalic 11
|
||||||
|
|
||||||
|
#polkit
|
||||||
|
exec_always /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
|
||||||
|
##Idle configuration
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
# exec swayidle -w \
|
||||||
|
# timeout 300 'swaylock -f -c 000000' \
|
||||||
|
# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||||
|
# before-sleep 'swaylock -f -c 000000'
|
||||||
|
#
|
||||||
|
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||||
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
|
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||||
|
|
||||||
|
### Input configuration
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
# input "2:14:SynPS/2_Synaptics_TouchPad" {
|
||||||
|
# dwt enabled
|
||||||
|
# tap enabled
|
||||||
|
# natural_scroll enabled
|
||||||
|
# middle_emulation enabled
|
||||||
|
# }
|
||||||
|
#
|
||||||
|
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||||
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
|
|
||||||
|
input * {
|
||||||
|
xkb_layout "us"
|
||||||
|
}
|
||||||
|
# _ _________ ______ ___ _ _ ____ ___ _ _ ____ ____
|
||||||
|
# | |/ / ____\ \ / / __ )_ _| \ | | _ \_ _| \ | |/ ___/ ___|
|
||||||
|
# | ' /| _| \ V /| _ \| || \| | | | | || \| | | _\___ \
|
||||||
|
# | . \| |___ | | | |_) | || |\ | |_| | || |\ | |_| |___) |
|
||||||
|
# |_|\_\_____| |_| |____/___|_| \_|____/___|_| \_|\____|____/
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Basics:
|
||||||
|
#
|
||||||
|
# Start a terminal
|
||||||
|
bindsym $mod+Return exec $term
|
||||||
|
|
||||||
|
# Kill focused window
|
||||||
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
|
# Resize them with right mouse button + $mod.
|
||||||
|
# Despite the name, also works for non-floating windows.
|
||||||
|
# Change normal to inverse to use left mouse button for resizing and right
|
||||||
|
# mouse button for dragging.
|
||||||
|
|
||||||
|
# Reload the configuration file
|
||||||
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
|
# Exit sway (logs you out of your Wayland session)
|
||||||
|
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
|
||||||
|
|
||||||
|
# Moving around:
|
||||||
|
|
||||||
|
# Move your focus around
|
||||||
|
bindsym $mod+$left focus left
|
||||||
|
bindsym $mod+$down focus down
|
||||||
|
bindsym $mod+$up focus up
|
||||||
|
bindsym $mod+$right focus right
|
||||||
|
#
|
||||||
|
# Or use $mod+[up|down|left|right]
|
||||||
|
bindsym $mod+Left focus left
|
||||||
|
bindsym $mod+Down focus down
|
||||||
|
bindsym $mod+Up focus up
|
||||||
|
bindsym $mod+Right focus right
|
||||||
|
#
|
||||||
|
# Move the focused window with the same, but add Shift
|
||||||
|
bindsym $mod+Shift+$left move left
|
||||||
|
bindsym $mod+Shift+$down move down
|
||||||
|
bindsym $mod+Shift+$up move up
|
||||||
|
bindsym $mod+Shift+$right move right
|
||||||
|
#
|
||||||
|
# Ditto, with arrow keys
|
||||||
|
bindsym $mod+Shift+Left move left
|
||||||
|
bindsym $mod+Shift+Down move down
|
||||||
|
bindsym $mod+Shift+Up move up
|
||||||
|
bindsym $mod+Shift+Right move right
|
||||||
|
#
|
||||||
|
# Workspaces:
|
||||||
|
#
|
||||||
|
bindsym $mod+1 workspace number $ws1
|
||||||
|
bindsym $mod+2 workspace number $ws2
|
||||||
|
bindsym $mod+3 workspace number $ws3
|
||||||
|
bindsym $mod+4 workspace number $ws4
|
||||||
|
bindsym $mod+5 workspace number $ws5
|
||||||
|
bindsym $mod+6 workspace number $ws6
|
||||||
|
bindsym $mod+7 workspace number $ws7
|
||||||
|
bindsym $mod+8 workspace number $ws8
|
||||||
|
bindsym $mod+9 workspace number $ws9
|
||||||
|
bindsym $mod+0 workspace number $ws10
|
||||||
|
#
|
||||||
|
# Move focused container to workspace
|
||||||
|
bindsym $mod+Shift+1 move container to workspace number $ws1
|
||||||
|
bindsym $mod+Shift+2 move container to workspace number $ws2
|
||||||
|
bindsym $mod+Shift+3 move container to workspace number $ws3
|
||||||
|
bindsym $mod+Shift+4 move container to workspace number $ws4
|
||||||
|
bindsym $mod+Shift+5 move container to workspace number $ws5
|
||||||
|
bindsym $mod+Shift+6 move container to workspace number $ws6
|
||||||
|
bindsym $mod+Shift+7 move container to workspace number $ws7
|
||||||
|
bindsym $mod+Shift+8 move container to workspace number $ws8
|
||||||
|
bindsym $mod+Shift+9 move container to workspace number $ws9
|
||||||
|
bindsym $mod+Shift+0 move container to workspace number $ws10
|
||||||
|
|
||||||
|
|
||||||
|
# Layout stuff:
|
||||||
|
#
|
||||||
|
#You can "split" the current object of your focus with
|
||||||
|
#$mod+b or $mod+v, for horizontal and vertical splits
|
||||||
|
# respectively.
|
||||||
|
#bindsym $mod+b splith
|
||||||
|
#bindsym $mod+v splitv
|
||||||
|
|
||||||
|
# Switch the current container between different layout styles
|
||||||
|
bindsym $mod+s layout stacking
|
||||||
|
bindsym $mod+w layout tabbed
|
||||||
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
# Make the current focus fullscreen
|
||||||
|
bindsym $mod+f fullscreen
|
||||||
|
|
||||||
|
# Toggle the current focus between tiling and floating mode
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
|
# Swap focus between the tiling area and the floating area
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
|
# Move focus to the parent container
|
||||||
|
bindsym $mod+a focus parent
|
||||||
|
|
||||||
|
# enable Alt+Tab Functionality
|
||||||
|
bindsym $mod+Tab workspace next
|
||||||
|
bindsym $mod+Shift+Tab workspace prev
|
||||||
|
|
||||||
|
# jump to last used workspace
|
||||||
|
bindsym $mod+grave workspace back_and_forth
|
||||||
|
|
||||||
|
#
|
||||||
|
# Scratchpad:
|
||||||
|
#
|
||||||
|
# Sway has a "scratchpad", which is a bag of holding for windows.
|
||||||
|
# You can send windows there and get them back later.
|
||||||
|
|
||||||
|
# Move the currently focused window to the scratchpad
|
||||||
|
bindsym $mod+Shift+minus move scratchpad
|
||||||
|
|
||||||
|
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||||
|
# If there are multiple scratchpad windows, this command cycles through them.
|
||||||
|
bindsym $mod+minus scratchpad show
|
||||||
|
|
||||||
|
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2%
|
||||||
|
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2%
|
||||||
|
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
|
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||||
|
bindsym XF86AudioPlay exec playerctl play-pause
|
||||||
|
bindsym XF86AudioNext exec playerctl next
|
||||||
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
|
bindsym XF86Search exec $menu
|
||||||
|
|
||||||
|
#bindsym XF86MonBrightnessUp exec brightnessctl s 200+
|
||||||
|
#bindsym XF86MonBrightnessDown exect brightnessctl s 200-
|
||||||
|
|
||||||
|
#screenshot with slurp
|
||||||
|
# Take a screenshot with all output and save it into screenshots
|
||||||
|
bindsym Print exec grim -t jpeg ~/Pictures/Sway-Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg
|
||||||
|
|
||||||
|
# Take a Screenshot with the region select
|
||||||
|
bindsym $mod+Print exec grim -t jpeg -g "$(slurp)" ~/Pictures/Sway-Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg
|
||||||
|
|
||||||
|
# Resizing containers:
|
||||||
|
#
|
||||||
|
mode "resize" {
|
||||||
|
# left will shrink the containers width
|
||||||
|
# right will grow the containers width
|
||||||
|
# up will shrink the containers height
|
||||||
|
# down will grow the containers height
|
||||||
|
bindsym $left resize shrink width 10px
|
||||||
|
bindsym $down resize grow height 10px
|
||||||
|
bindsym $up resize shrink height 10px
|
||||||
|
bindsym $right resize grow width 10px
|
||||||
|
|
||||||
|
# Ditto, with arrow keys
|
||||||
|
bindsym Left resize shrink width 10px
|
||||||
|
bindsym Down resize grow height 10px
|
||||||
|
bindsym Up resize shrink height 10px
|
||||||
|
bindsym Right resize grow width 10px
|
||||||
|
|
||||||
|
# Return to default mode
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
|
||||||
|
bindsym $mod+r mode "resize"
|
||||||
|
}
|
||||||
|
|
||||||
|
# _ ____ ____ _ ___ ____ _ _____ ___ ___ _ _ ____
|
||||||
|
# / \ | _ \| _ \| | |_ _/ ___| / \|_ _|_ _/ _ \| \ | / ___|
|
||||||
|
# / _ \ | |_) | |_) | | | | | / _ \ | | | | | | | \| \___ \
|
||||||
|
# / ___ \| __/| __/| |___ | | |___ / ___ \| | | | |_| | |\ |___) |
|
||||||
|
# /_/ \_\_| |_| |_____|___\____/_/ \_\_| |___\___/|_| \_|____/
|
||||||
|
#
|
||||||
|
|
||||||
|
# Default settings for some applications
|
||||||
|
for_window [class="vlc"] floating enable
|
||||||
|
for_window [class="vlc"] move absolute center
|
||||||
|
|
||||||
|
#for_window [class="MuPDF"] floating enable
|
||||||
|
#for_window [app_id="pavucontrol"] floating enable
|
||||||
|
for_window [app_id="blueman-manager"] floating enable
|
||||||
|
|
||||||
|
for_window [class = "kitty"] floating enable
|
||||||
|
|
||||||
|
for_window [title="Picture-in-Picture"] {
|
||||||
|
sticky enable
|
||||||
|
move position 78ppt 65ppt
|
||||||
|
}
|
||||||
|
|
||||||
|
for_window [class="sway-img"] {
|
||||||
|
floating enable
|
||||||
|
move absolute center
|
||||||
|
resize set 1200 800
|
||||||
|
}
|
||||||
|
|
||||||
|
#waybar
|
||||||
|
bar {
|
||||||
|
swaybar_command waybar
|
||||||
|
strip_workspace_numbers yes
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
assign [app_id="firefox"] → $ws2
|
||||||
|
assign [class="firefox"] → $ws2
|
||||||
|
|
||||||
|
assign [app_id=thunar] 3
|
||||||
|
for_window [app_id=thunar] focus
|
||||||
|
assign [app_id="Microsoft-edge"] → $ws2
|
||||||
|
#assign [app_id="microsoft-edge-stable"] → $ws2
|
||||||
|
assign [class="thunar"] → $ws3
|
||||||
|
assign [app_id="obs"] → $ws4
|
||||||
|
assign [class="Steam"] → $ws5
|
||||||
|
#assign [app_id="Steam"] → $ws5
|
||||||
|
assign [app_id="lutris"] → $ws5
|
||||||
|
assign [app_id="virt-manager"] → $ws6
|
||||||
|
assign [app_id="vlc"] → $ws7
|
||||||
|
assign [app_id="audacious"] → $ws9
|
||||||
|
assign [app_id="easyeffects"] → $ws9
|
||||||
|
assign [app_id="pavucontrol-qt"] 9
|
||||||
|
|
||||||
|
# _ _ _ _____ ___ ____ _____ _ ____ _____
|
||||||
|
# / \ | | | |_ _/ _ \/ ___|_ _|/ \ | _ \_ _|
|
||||||
|
# / _ \| | | | | || | | \___ \ | | / _ \ | |_) || |
|
||||||
|
# / ___ \ |_| | | || |_| |___) || |/ ___ \| _ < | |
|
||||||
|
# /_/ \_\___/ |_| \___/|____/ |_/_/ \_\_| \_\|_|
|
||||||
|
#
|
||||||
|
|
||||||
|
#mako
|
||||||
|
exec_always mako
|
||||||
|
|
||||||
|
#easyeffects
|
||||||
|
exec easyeffects --gapplication-service -l my_own2
|
||||||
|
#exec easyeffects -r
|
||||||
|
#exec easyeffects -l my_own2
|
||||||
|
|
||||||
|
#autotiling
|
||||||
|
exec_always autotiling
|
||||||
|
|
||||||
|
#pavucontrol-qt
|
||||||
|
exec pavucontrol-qt
|
||||||
|
|
||||||
|
#GTK+ apps long time to load fix
|
||||||
|
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||||
|
|
||||||
|
include /etc/sway/config.d/*
|
||||||
36
.config/wlogout/layout
Normal file
36
.config/wlogout/layout
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"label" : "lock",
|
||||||
|
"action" : "loginctl lock-session",
|
||||||
|
"text" : "Lock",
|
||||||
|
"keybind" : "l"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" : "hibernate",
|
||||||
|
"action" : "systemctl hibernate",
|
||||||
|
"text" : "Hibernate",
|
||||||
|
"keybind" : "h"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" : "logout",
|
||||||
|
"action" : "loginctl terminate-user $USER",
|
||||||
|
"text" : "Logout",
|
||||||
|
"keybind" : "e"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" : "shutdown",
|
||||||
|
"action" : "systemctl poweroff",
|
||||||
|
"text" : "Shutdown",
|
||||||
|
"keybind" : "s"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" : "suspend",
|
||||||
|
"action" : "systemctl suspend",
|
||||||
|
"text" : "Suspend",
|
||||||
|
"keybind" : "u"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" : "reboot",
|
||||||
|
"action" : "systemctl reboot",
|
||||||
|
"text" : "Reboot",
|
||||||
|
"keybind" : "r"
|
||||||
|
}
|
||||||
50
.config/wlogout/style.css
Normal file
50
.config/wlogout/style.css
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
* {
|
||||||
|
background-image: none;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
window {
|
||||||
|
background-color: rgba(12, 12, 12, 0.9);
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
border-radius: 0;
|
||||||
|
border-color: black;
|
||||||
|
text-decoration-color: #FFFFFF;
|
||||||
|
color: #FFFFFF;
|
||||||
|
background-color: #1E1E1E;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center;
|
||||||
|
background-size: 25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:focus, button:active, button:hover {
|
||||||
|
background-color: #3700B3;
|
||||||
|
outline-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#lock {
|
||||||
|
background-image: image(url("/usr/share/wlogout/icons/lock.png"), url("/usr/local/share/wlogout/icons/lock.png"));
|
||||||
|
}
|
||||||
|
|
||||||
|
#logout {
|
||||||
|
background-image: image(url("/usr/share/wlogout/icons/logout.png"), url("/usr/local/share/wlogout/icons/logout.png"));
|
||||||
|
}
|
||||||
|
|
||||||
|
#suspend {
|
||||||
|
background-image: image(url("/usr/share/wlogout/icons/suspend.png"), url("/usr/local/share/wlogout/icons/suspend.png"));
|
||||||
|
}
|
||||||
|
|
||||||
|
#hibernate {
|
||||||
|
background-image: image(url("/usr/share/wlogout/icons/hibernate.png"), url("/usr/local/share/wlogout/icons/hibernate.png"));
|
||||||
|
}
|
||||||
|
|
||||||
|
#shutdown {
|
||||||
|
background-image: image(url("/usr/share/wlogout/icons/shutdown.png"), url("/usr/local/share/wlogout/icons/shutdown.png"));
|
||||||
|
}
|
||||||
|
|
||||||
|
#reboot {
|
||||||
|
background-image: image(url("/usr/share/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png"));
|
||||||
|
}
|
||||||
1
.local/share/rofi/themes/themelink.rasi
Symbolic link
1
.local/share/rofi/themes/themelink.rasi
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
catppuccin-macchiato-custom.rasi
|
||||||
Loading…
Add table
Reference in a new issue