i3->sway
This commit is contained in:
@@ -1,67 +0,0 @@
|
|||||||
Xft.dpi: 96
|
|
||||||
Xft.antialias: true
|
|
||||||
Xft.hinting: true
|
|
||||||
Xft.rgba: rgb
|
|
||||||
Xft.autohint: false
|
|
||||||
Xft.hintstyle: hintslight
|
|
||||||
Xft.lcdfilter: lcddefault
|
|
||||||
|
|
||||||
*.font: xft:DejaVu Sans Mono for Powerline:size=14,xft:Terminess Nerd Font Mono
|
|
||||||
*.boldFont: xft:DejaVu Sans Mono for Powerline:bold:size=14,xft:Terminess Nerd Font Mono
|
|
||||||
*.italicFont: xft:DejaVu Sans Mono for Powerline:italic:size=14,xft:Terminess Nerd Font Mono
|
|
||||||
*.boldItalicFont: xft:DejaVu Sans Mono for Powerline:bold:italic:size=14,xft:Terminess Nerd Font Mono
|
|
||||||
URxvt.font: xft:DejaVu Sans Mono for Powerline:size=14,xft:Terminess Nerd Font Mono
|
|
||||||
URxvt.boldFont: xft:DejaVu Sans Mono for Powerline:bold:size=14,xft:Terminess Nerd Font Mono
|
|
||||||
URxvt.italicFont: xft:DejaVu Sans Mono for Powerline:italic:size=14,xft:Terminess Nerd Font Mono
|
|
||||||
URxvt.boldItalicFont: xft:DejaVu Sans Mono for Powerline:bold:italic:size=14,xft:Terminess Nerd Font Mono
|
|
||||||
|
|
||||||
*.foreground: #93a1a1
|
|
||||||
*.background: #141c21
|
|
||||||
*.cursorColor: #afbfbf
|
|
||||||
*.color0: #263640
|
|
||||||
*.color8: #4a697d
|
|
||||||
*.color1: #d12f2c
|
|
||||||
*.color9: #fa3935
|
|
||||||
*.color2: #819400
|
|
||||||
*.color10: #a4bd00
|
|
||||||
*.color3: #b08500
|
|
||||||
*.color11: #d9a400
|
|
||||||
*.color4: #2587cc
|
|
||||||
*.color12: #2ca2f5
|
|
||||||
*.color5: #696ebf
|
|
||||||
*.color13: #8086e8
|
|
||||||
*.color6: #289c93
|
|
||||||
*.color14: #33c5ba
|
|
||||||
*.color7: #bfbaac
|
|
||||||
*.color15: #fdf6e3
|
|
||||||
|
|
||||||
! Normal copy-paste keybindings without perls
|
|
||||||
URxvt.iso14755: false
|
|
||||||
URxvt.keysym.Shift-Control-V: eval:paste_clipboard
|
|
||||||
URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard
|
|
||||||
! Xterm escape codes, word by word movement
|
|
||||||
URxvt.keysym.Control-Left: \033[1;5D
|
|
||||||
URxvt.keysym.Control-Right: \033[1;5C
|
|
||||||
! change fonts
|
|
||||||
URxvt.keysym.Control-minus: resize-font:smaller
|
|
||||||
URxvt.keysym.Control-plus: resize-font:bigger
|
|
||||||
URxvt.keysym.Control-equal: resize-font:reset
|
|
||||||
URxvt.keysym.Control-question: resize-font:show
|
|
||||||
! scrolling
|
|
||||||
URxvt*scrollTtyOutput: false
|
|
||||||
URxvt*scrollColor: #777777
|
|
||||||
URxvt*scrollstyle: plain
|
|
||||||
URxvt*scrollTtyKeypress: true
|
|
||||||
URxvt*scrollWithBuffer: false
|
|
||||||
URxvt.scrollBar: true
|
|
||||||
URxvt.scrollBar_right: true
|
|
||||||
URxvt.mouseWheelScrollPage: true
|
|
||||||
! scrll with ctrl+shift+up/down
|
|
||||||
URxvt.keysym.Shift-Up: command:\033]720;1\007
|
|
||||||
URxvt.keysym.Shift-Down: command:\033]721;1\007
|
|
||||||
URxvt.keysym.Shift-Home: command:\033]720;10\007
|
|
||||||
URxvt.keysym.Shift-End: command:\033]721;10\007
|
|
||||||
! other
|
|
||||||
URxvt.copyCommand: xclip -i -selection clipboard
|
|
||||||
URxvt*cursorBlink: true
|
|
||||||
URxvt.saveLines: 10000
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
gtk-icon-theme-name="Breeze"
|
|
||||||
gtk-theme-name="Breeze"
|
|
||||||
gtk-font-name="Noto Sans 10"
|
|
||||||
gtk-cursor-theme-name="xcursor-breeze"
|
|
||||||
+3
-2
@@ -1,7 +1,8 @@
|
|||||||
|
# required for qt5ct to know QT_QPA_PLATFORMTHEME
|
||||||
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||||
export SYSTEMD_EDITOR=/usr/bin/nvim
|
export SYSTEMD_EDITOR=/usr/bin/nvim
|
||||||
export EDITOR=/usr/bin/nvim
|
export EDITOR=/usr/bin/nvim
|
||||||
export VISUAL=/usr/bin/nvim
|
export VISUAL=/usr/bin/nvim
|
||||||
export TERMINAL=/usr/bin/kitty
|
export TERMINAL=/usr/bin/footclient
|
||||||
export PAGER="bat --style=header,rule,snip"
|
export PAGER="bat --style=header,rule,snip"
|
||||||
export BROWSER=/usr/bin/qutebrowser
|
export BROWSER=/usr/bin/qutebrowser
|
||||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
[terminal]
|
||||||
|
# The VT to run the greeter on. Can be "next", "current" or a number
|
||||||
|
# designating the VT.
|
||||||
|
vt = 1
|
||||||
|
|
||||||
|
# The default session, also known as the greeter.
|
||||||
|
[default_session]
|
||||||
|
|
||||||
|
# `agreety` is the bundled agetty/login-lookalike. You can replace `/bin/sh`
|
||||||
|
# with whatever you want started, such as `sway`.
|
||||||
|
command = "start-sway --unsupported-gpu --config /etc/greetd/sway-config 2> /etc/sway/sway.log"
|
||||||
|
|
||||||
|
# The user to run the command as. The privileges this user must have depends
|
||||||
|
# on the greeter. A graphical greeter may for example require the user to be
|
||||||
|
# in the `video` group.
|
||||||
|
user = "greeter"
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
sway
|
||||||
|
bash
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
window {
|
||||||
|
background-image: url("file:///usr/share/backgrounds/default.png");
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
box#body {
|
||||||
|
border-radius: 20px;
|
||||||
|
padding: 50px;
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
# `-l` activates layer-shell mode. Notice that `swaymsg exit` will run after gtkgreet.
|
||||||
|
exec "gtkgreet -l -s /etc/greetd/gtkgreet.css; swaymsg exit"
|
||||||
|
|
||||||
|
bindsym Mod4+shift+e exec swaynag \
|
||||||
|
-t warning \
|
||||||
|
-m 'What do you want to do?' \
|
||||||
|
-b 'Poweroff' 'sudo poweroff' \
|
||||||
|
-b 'Reboot' 'sudo reboot'
|
||||||
|
|
||||||
|
include /etc/sway/config.d/*
|
||||||
Executable
+19
@@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# Session
|
||||||
|
export XDG_SESSION_TYPE=wayland
|
||||||
|
export XDG_SESSION_DESKTOP=sway
|
||||||
|
export XDG_CURRENT_DESKTOP=sway
|
||||||
|
|
||||||
|
# Environment
|
||||||
|
# Source environmental variable from all files in PATH_ENVIRONMENT
|
||||||
|
# file should be named *.conf and have KEY=value format use # for comment
|
||||||
|
PATH_ENVIRONMENT=$HOME/.config/environment.d
|
||||||
|
if [ -d "$PATH_ENVIRONMENT" ]; then
|
||||||
|
for i in "$PATH_ENVIRONMENT"/*.conf ; do
|
||||||
|
if [ -f "$i" ]; then
|
||||||
|
set -a; . "$i"; set +a
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec sway "$@"
|
||||||
@@ -1,21 +1,5 @@
|
|||||||
exec --no-startup-id xrandr \
|
output DP-0 resolution 2560x1440 position 0 0
|
||||||
--output DP-0 --mode 2560x1440 --primary --rate 144.00 \
|
output DP-2 resolution 3840x2160 position 2560 0
|
||||||
--output DP-2 --mode 3840x2160 --right-of DP-0
|
|
||||||
exec --no-startup-id xinput --set-prop 'ROCCAT ROCCAT Burst Pro' 'libinput Accel Profile Enabled' 0, 1, 0
|
|
||||||
|
|
||||||
bindsym $mod+Shift+F12 exec "xrandr --auto"
|
|
||||||
|
|
||||||
# Workspace names
|
|
||||||
set $ws1 "1"
|
|
||||||
set $ws2 "2"
|
|
||||||
set $ws3 "3"
|
|
||||||
set $ws4 "4"
|
|
||||||
set $ws5 "Ins / 5"
|
|
||||||
set $ws6 "Del / 6"
|
|
||||||
set $ws7 "Home / 7"
|
|
||||||
set $ws8 "End / 8"
|
|
||||||
set $ws9 "PgUp / 9"
|
|
||||||
set $ws0 "PgDn / 0"
|
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
workspace $ws1 output DP-0
|
workspace $ws1 output DP-0
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
{
|
||||||
|
"temperature": {
|
||||||
|
"hwmon-path": "/sys/devices/platform/asus-ec-sensors/hwmon/hwmon3/temp2_input",
|
||||||
|
"critical-threshold": 80,
|
||||||
|
"format-critical": "{temperatureC}°C ",
|
||||||
|
"format": " {temperatureC}°C",
|
||||||
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 watch sensors'"
|
||||||
|
},
|
||||||
|
"disk#disk1": {
|
||||||
|
"path": "/",
|
||||||
|
"interval": 30,
|
||||||
|
"format": " / {specific_free:0.0f} of {specific_total:0.0f} GB free",
|
||||||
|
"unit": "GB",
|
||||||
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 ncdu -x /'"
|
||||||
|
},
|
||||||
|
"disk#disk2": {
|
||||||
|
"path": "/mnt/hdd1",
|
||||||
|
"interval": 30,
|
||||||
|
"format": " /mnt/hdd1 {specific_free:0.0f} of {specific_total:0.0f} GB free",
|
||||||
|
"unit": "GB",
|
||||||
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 ncdu -x /mnt/hdd1/'"
|
||||||
|
},
|
||||||
|
"custom/nvidia": {
|
||||||
|
"exec": "nvidia-smi --query-gpu=utilization.gpu,memory.used,temperature.gpu --format=csv,nounits,noheader | sed 's/\\([0-9]\\+\\), \\([0-9]\\+\\), \\([0-9]\\+\\)/\\1% \\2MB \\3°C/g'",
|
||||||
|
"format": " {}",
|
||||||
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 120x45 nvtop'",
|
||||||
|
"interval": 1
|
||||||
|
},
|
||||||
|
"network": {
|
||||||
|
"interface": "enp6s0",
|
||||||
|
"interval": 5,
|
||||||
|
"format-wifi": "{icon}",
|
||||||
|
"format-ethernet": "",
|
||||||
|
"format-disconnected": "",
|
||||||
|
"format-disabled": "",
|
||||||
|
"format-icons": [ "", "", "", "", "" ],
|
||||||
|
"format-wifi": "{icon} {ipaddr} {essid} ({signalStrength}%)",
|
||||||
|
"format-ethernet": "{icon} {ipaddr}",
|
||||||
|
"format-disconnected": "", //An empty format will hide the module.
|
||||||
|
"tooltip-format": "{icon} {ifname}: {ipaddr}",
|
||||||
|
"tooltip-format-ethernet": "{icon} {ifname}: {ipaddr}",
|
||||||
|
"tooltip-format-wifi": "{icon} {ifname} ({essid}): {ipaddr} ({signalStrength}%)",
|
||||||
|
"tooltip-format-disconnected": "{icon} disconnected",
|
||||||
|
"tooltip-format-disabled": "{icon} disabled",
|
||||||
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 60x45 nmtui connect'"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,9 +1,4 @@
|
|||||||
exec --no-startup-id xrandr --output DP-0 --mode 5120x1440
|
output DP-1 resolution 5120x1440
|
||||||
exec --no-startup-id xinput --set-prop 'Logitech USB Receiver' 'libinput Accel Profile Enabled' 0, 1, 0
|
|
||||||
exec --no-startup-id xsetwacom --set "Wacom Co.,Ltd. Wacom One pen tablet small stylus" MapToOutput 2335x1440+2785+0
|
|
||||||
exec --no-startup-id xsetwacom --set "Wacom Co.,Ltd. Wacom One pen tablet small eraser" MapToOutput 2335x1440+2785+0
|
|
||||||
|
|
||||||
bindsym $mod+Shift+F12 exec "xrandr --output DP-0 --mode 5120x1440"
|
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
workspace $ws1 output DP-0
|
workspace $ws1 output DP-0
|
||||||
@@ -17,18 +12,6 @@ workspace $ws8 output DP-0
|
|||||||
workspace $ws9 output DP-0
|
workspace $ws9 output DP-0
|
||||||
workspace $ws10 output DP-0
|
workspace $ws10 output DP-0
|
||||||
|
|
||||||
# Workspace names
|
|
||||||
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
|
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+1 workspace $ws1
|
bindsym $mod+1 workspace $ws1
|
||||||
bindsym $mod+2 workspace $ws2
|
bindsym $mod+2 workspace $ws2
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
{
|
||||||
|
"temperature": {
|
||||||
|
"hwmon-path": "/sys/devices/platform/asus-ec-sensors/hwmon/hwmon3/temp2_input",
|
||||||
|
"critical-threshold": 80,
|
||||||
|
"format-critical": "{temperatureC}°C ",
|
||||||
|
"format": " {temperatureC}°C",
|
||||||
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 watch sensors'"
|
||||||
|
},
|
||||||
|
"disk#disk1": {
|
||||||
|
"path": "/",
|
||||||
|
"interval": 30,
|
||||||
|
"format": " / {specific_free:0.0f} of {specific_total:0.0f} GB free",
|
||||||
|
"unit": "GB",
|
||||||
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 ncdu -x /'"
|
||||||
|
},
|
||||||
|
"disk#disk2": {
|
||||||
|
"path": "/mnt/hdd1",
|
||||||
|
"interval": 30,
|
||||||
|
"format": " /mnt/hdd1 {specific_free:0.0f} of {specific_total:0.0f} GB free",
|
||||||
|
"unit": "GB",
|
||||||
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 ncdu -x /mnt/hdd1/'"
|
||||||
|
},
|
||||||
|
"custom/nvidia": {
|
||||||
|
"exec": "nvidia-smi --query-gpu=utilization.gpu,memory.used,temperature.gpu --format=csv,nounits,noheader | sed 's/\\([0-9]\\+\\), \\([0-9]\\+\\), \\([0-9]\\+\\)/\\1% \\2MB \\3°C/g'",
|
||||||
|
"format": " {}",
|
||||||
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 120x45 nvtop'",
|
||||||
|
"interval": 1
|
||||||
|
},
|
||||||
|
"network": {
|
||||||
|
"interface": "wlp5s0",
|
||||||
|
"interval": 5,
|
||||||
|
"format-wifi": "{icon}",
|
||||||
|
"format-ethernet": "",
|
||||||
|
"format-disconnected": "",
|
||||||
|
"format-disabled": "",
|
||||||
|
"format-icons": [ "", "", "", "", "" ],
|
||||||
|
"format-wifi": "{icon} {ipaddr} {essid} ({signalStrength}%)",
|
||||||
|
"format-ethernet": "{icon} {ipaddr}",
|
||||||
|
"format-disconnected": "", //An empty format will hide the module.
|
||||||
|
"tooltip-format": "{icon} {ifname}: {ipaddr}",
|
||||||
|
"tooltip-format-ethernet": "{icon} {ifname}: {ipaddr}",
|
||||||
|
"tooltip-format-wifi": "{icon} {ifname} ({essid}): {ipaddr} ({signalStrength}%)",
|
||||||
|
"tooltip-format-disconnected": "{icon} disconnected",
|
||||||
|
"tooltip-format-disabled": "{icon} disabled",
|
||||||
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 60x45 nmtui connect'"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
# graphics
|
||||||
|
MOZ_ENABLE_WAYLAND=1
|
||||||
|
QT_QPA_PLATFORM=wayland-egl
|
||||||
|
CLUTTER_BACKEND=wayland
|
||||||
|
ECORE_EVAS_ENGINE=wayland-egl
|
||||||
|
ELM_ENGINE=wayland_egl
|
||||||
|
SDL_VIDEODRIVER=wayland
|
||||||
|
_JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
NO_AT_BRIDGE=1
|
||||||
|
|
||||||
|
# QT theme
|
||||||
|
QT_QPA_PLATFORMTHEME=qt5ct
|
||||||
|
|
||||||
|
# defaults
|
||||||
|
SYSTEMD_EDITOR=/usr/bin/nvim
|
||||||
|
EDITOR=/usr/bin/nvim
|
||||||
|
VISUAL=/usr/bin/nvim
|
||||||
|
TERMINAL=/usr/bin/footclient
|
||||||
|
PAGER="bat --style=header,rule,snip"
|
||||||
|
BROWSER=/usr/bin/qutebrowser
|
||||||
|
|
||||||
|
# sioyek fix
|
||||||
|
# QT_QPA_PLATFORM=xcb
|
||||||
+278
@@ -0,0 +1,278 @@
|
|||||||
|
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
|
||||||
|
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
|
||||||
|
# login-shell=no
|
||||||
|
|
||||||
|
# app-id=foot # globally set wayland app-id. Default values are "foot" and "footclient" for desktop and server mode
|
||||||
|
# title=foot
|
||||||
|
# locked-title=no
|
||||||
|
|
||||||
|
font=Akkurat\-Mono:size=12,JetBrainsMono Nerd Font:size=12
|
||||||
|
# font-bold=<bold variant of regular font>
|
||||||
|
# font-italic=<italic variant of regular font>
|
||||||
|
# font-bold-italic=<bold+italic variant of regular font>
|
||||||
|
# font-size-adjustment=0.5
|
||||||
|
# line-height=<font metrics>
|
||||||
|
# letter-spacing=0
|
||||||
|
# horizontal-letter-offset=0
|
||||||
|
# vertical-letter-offset=0
|
||||||
|
# underline-offset=<font metrics>
|
||||||
|
# underline-thickness=<font underline thickness>
|
||||||
|
# strikeout-thickness=<font strikeout thickness>
|
||||||
|
# box-drawings-uses-font-glyphs=no
|
||||||
|
dpi-aware=yes
|
||||||
|
# gamma-correct-blending=no
|
||||||
|
|
||||||
|
# initial-color-theme=1
|
||||||
|
# initial-window-size-pixels=700x500 # Or,
|
||||||
|
# initial-window-size-chars=<COLSxROWS>
|
||||||
|
# initial-window-mode=windowed
|
||||||
|
# pad=0x0 # optionally append 'center'
|
||||||
|
# resize-by-cells=yes
|
||||||
|
# resize-keep-grid=yes
|
||||||
|
# resize-delay-ms=100
|
||||||
|
|
||||||
|
# bold-text-in-bright=no
|
||||||
|
# word-delimiters=,│`|:"'()[]{}<>
|
||||||
|
# selection-target=primary
|
||||||
|
# workers=<number of logical CPUs>
|
||||||
|
# utmp-helper=/usr/lib/utempter/utempter # When utmp backend is ‘libutempter’ (Linux)
|
||||||
|
# utmp-helper=/usr/libexec/ulog-helper # When utmp backend is ‘ulog’ (FreeBSD)
|
||||||
|
|
||||||
|
[environment]
|
||||||
|
# name=value
|
||||||
|
|
||||||
|
[security]
|
||||||
|
# osc52=enabled # disabled|copy-enabled|paste-enabled|enabled
|
||||||
|
|
||||||
|
[bell]
|
||||||
|
# system=yes
|
||||||
|
# urgent=no
|
||||||
|
# notify=no
|
||||||
|
# visual=no
|
||||||
|
# command=
|
||||||
|
# command-focused=no
|
||||||
|
|
||||||
|
[desktop-notifications]
|
||||||
|
# command=notify-send --wait --app-name ${app-id} --icon ${app-id} --category ${category} --urgency ${urgency} --expire-time ${expire-time} --hint STRING:image-path:${icon} --hint BOOLEAN:suppress-sound:${muted} --hint STRING:sound-name:${sound-name} --replace-id ${replace-id} ${action-argument} --print-id -- ${title} ${body}
|
||||||
|
# command-action-argument=--action ${action-name}=${action-label}
|
||||||
|
# close=""
|
||||||
|
# inhibit-when-focused=yes
|
||||||
|
|
||||||
|
|
||||||
|
[scrollback]
|
||||||
|
# lines=1000
|
||||||
|
# multiplier=3.0
|
||||||
|
# indicator-position=relative
|
||||||
|
# indicator-format=""
|
||||||
|
|
||||||
|
[url]
|
||||||
|
# launch=xdg-open ${url}
|
||||||
|
# label-letters=sadfjklewcmpgh
|
||||||
|
# osc8-underline=url-mode
|
||||||
|
# regex=(((https?://|mailto:|ftp://|file:|ssh:|ssh://|git://|tel:|magnet:|ipfs://|ipns://|gemini://|gopher://|news:)|www\.)([0-9a-zA-Z:/?#@!$&*+,;=.~_%^\-]+|\([]\["0-9a-zA-Z:/?#@!$&'*+,;=.~_%^\-]*\)|\[[\(\)"0-9a-zA-Z:/?#@!$&'*+,;=.~_%^\-]*\]|"[]\[\(\)0-9a-zA-Z:/?#@!$&'*+,;=.~_%^\-]*"|'[]\[\(\)0-9a-zA-Z:/?#@!$&*+,;=.~_%^\-]*')+([0-9a-zA-Z/#@$&*+=~_%^\-]|\([]\["0-9a-zA-Z:/?#@!$&'*+,;=.~_%^\-]*\)|\[[\(\)"0-9a-zA-Z:/?#@!$&'*+,;=.~_%^\-]*\]|"[]\[\(\)0-9a-zA-Z:/?#@!$&'*+,;=.~_%^\-]*"|'[]\[\(\)0-9a-zA-Z:/?#@!$&*+,;=.~_%^\-]*'))
|
||||||
|
|
||||||
|
# You can define your own regex's, by adding a section called
|
||||||
|
# 'regex:<ID>' with a 'regex' and 'launch' key. These can then be tied
|
||||||
|
# to a key-binding. See foot.ini(5) for details
|
||||||
|
|
||||||
|
# [regex:your-fancy-name]
|
||||||
|
# regex=<a POSIX-Extended Regular Expression>
|
||||||
|
# launch=<path to script or application> ${match}
|
||||||
|
#
|
||||||
|
# [key-bindings]
|
||||||
|
# regex-launch=[your-fancy-name] Control+Shift+q
|
||||||
|
# regex-copy=[your-fancy-name] Control+Alt+Shift+q
|
||||||
|
|
||||||
|
[cursor]
|
||||||
|
# style=block
|
||||||
|
# blink=no
|
||||||
|
# blink-rate=500
|
||||||
|
# beam-thickness=1.5
|
||||||
|
# underline-thickness=<font underline thickness>
|
||||||
|
|
||||||
|
[mouse]
|
||||||
|
# hide-when-typing=no
|
||||||
|
# alternate-scroll-mode=yes
|
||||||
|
|
||||||
|
[touch]
|
||||||
|
# long-press-delay=400
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
alpha=0.9
|
||||||
|
# alpha-mode=default # Can be `default`, `matching` or `all`
|
||||||
|
# background=242424
|
||||||
|
# foreground=ffffff
|
||||||
|
# flash=7f7f00
|
||||||
|
# flash-alpha=0.5
|
||||||
|
|
||||||
|
# cursor=<inverse foreground/background>
|
||||||
|
|
||||||
|
## Normal/regular colors (color palette 0-7)
|
||||||
|
# regular0=242424 # black
|
||||||
|
# regular1=f62b5a # red
|
||||||
|
# regular2=47b413 # green
|
||||||
|
# regular3=e3c401 # yellow
|
||||||
|
# regular4=24acd4 # blue
|
||||||
|
# regular5=f2affd # magenta
|
||||||
|
# regular6=13c299 # cyan
|
||||||
|
# regular7=e6e6e6 # white
|
||||||
|
|
||||||
|
## Bright colors (color palette 8-15)
|
||||||
|
# bright0=616161 # bright black
|
||||||
|
# bright1=ff4d51 # bright red
|
||||||
|
# bright2=35d450 # bright green
|
||||||
|
# bright3=e9e836 # bright yellow
|
||||||
|
# bright4=5dc5f8 # bright blue
|
||||||
|
# bright5=feabf2 # bright magenta
|
||||||
|
# bright6=24dfc4 # bright cyan
|
||||||
|
# bright7=ffffff # bright white
|
||||||
|
|
||||||
|
## dimmed colors (see foot.ini(5) man page)
|
||||||
|
# dim0=<not set>
|
||||||
|
# ...
|
||||||
|
# dim7=<not-set>
|
||||||
|
|
||||||
|
## The remaining 256-color palette
|
||||||
|
# 16 = <256-color palette #16>
|
||||||
|
# ...
|
||||||
|
# 255 = <256-color palette #255>
|
||||||
|
|
||||||
|
## Sixel colors
|
||||||
|
# sixel0 = 000000
|
||||||
|
# sixel1 = 3333cc
|
||||||
|
# sixel2 = cc2121
|
||||||
|
# sixel3 = 33cc33
|
||||||
|
# sixel4 = cc33cc
|
||||||
|
# sixel5 = 33cccc
|
||||||
|
# sixel6 = cccc33
|
||||||
|
# sixel7 = 878787
|
||||||
|
# sixel8 = 424242
|
||||||
|
# sixel9 = 545499
|
||||||
|
# sixel10 = 994242
|
||||||
|
# sixel11 = 549954
|
||||||
|
# sixel12 = 995499
|
||||||
|
# sixel13 = 549999
|
||||||
|
# sixel14 = 999954
|
||||||
|
# sixel15 = cccccc
|
||||||
|
|
||||||
|
## Misc colors
|
||||||
|
# selection-foreground=<inverse foreground/background>
|
||||||
|
# selection-background=<inverse foreground/background>
|
||||||
|
# jump-labels=<regular0> <regular3> # black-on-yellow
|
||||||
|
# scrollback-indicator=<regular0> <bright4> # black-on-bright-blue
|
||||||
|
# search-box-no-match=<regular0> <regular1> # black-on-red
|
||||||
|
# search-box-match=<regular0> <regular3> # black-on-yellow
|
||||||
|
# urls=<regular3>
|
||||||
|
|
||||||
|
[csd]
|
||||||
|
# preferred=server
|
||||||
|
# size=26
|
||||||
|
# font=<primary font>
|
||||||
|
# color=<foreground color>
|
||||||
|
# hide-when-maximized=no
|
||||||
|
# double-click-to-maximize=yes
|
||||||
|
# border-width=0
|
||||||
|
# border-color=<csd.color>
|
||||||
|
# button-width=26
|
||||||
|
# button-color=<background color>
|
||||||
|
# button-minimize-color=<regular4>
|
||||||
|
# button-maximize-color=<regular2>
|
||||||
|
# button-close-color=<regular1>
|
||||||
|
|
||||||
|
[key-bindings]
|
||||||
|
# scrollback-up-page=Shift+Page_Up Shift+KP_Page_Up
|
||||||
|
# scrollback-up-half-page=none
|
||||||
|
# scrollback-up-line=none
|
||||||
|
# scrollback-down-page=Shift+Page_Down Shift+KP_Page_Down
|
||||||
|
# scrollback-down-half-page=none
|
||||||
|
# scrollback-down-line=none
|
||||||
|
# scrollback-home=none
|
||||||
|
# scrollback-end=none
|
||||||
|
# clipboard-copy=Control+Shift+c XF86Copy
|
||||||
|
# clipboard-paste=Control+Shift+v XF86Paste
|
||||||
|
# primary-paste=Shift+Insert
|
||||||
|
# search-start=Control+Shift+r
|
||||||
|
# font-increase=Control+plus Control+equal Control+KP_Add
|
||||||
|
# font-decrease=Control+minus Control+KP_Subtract
|
||||||
|
# font-reset=Control+0 Control+KP_0
|
||||||
|
# spawn-terminal=Control+Shift+n
|
||||||
|
# minimize=none
|
||||||
|
# maximize=none
|
||||||
|
# fullscreen=none
|
||||||
|
# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
||||||
|
# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
||||||
|
# pipe-selected=[xargs -r firefox] none
|
||||||
|
# pipe-command-output=[wl-copy] none # Copy last command's output to the clipboard
|
||||||
|
# show-urls-launch=Control+Shift+o
|
||||||
|
# show-urls-copy=none
|
||||||
|
# show-urls-persistent=none
|
||||||
|
# prompt-prev=Control+Shift+z
|
||||||
|
# prompt-next=Control+Shift+x
|
||||||
|
# unicode-input=Control+Shift+u
|
||||||
|
# color-theme-switch-1=none
|
||||||
|
# color-theme-switch-2=none
|
||||||
|
# color-theme-toggle=none
|
||||||
|
# noop=none
|
||||||
|
# quit=none
|
||||||
|
|
||||||
|
[search-bindings]
|
||||||
|
# cancel=Control+g Control+c Escape
|
||||||
|
# commit=Return KP_Enter
|
||||||
|
# find-prev=Control+r
|
||||||
|
# find-next=Control+s
|
||||||
|
# cursor-left=Left Control+b
|
||||||
|
# cursor-left-word=Control+Left Mod1+b
|
||||||
|
# cursor-right=Right Control+f
|
||||||
|
# cursor-right-word=Control+Right Mod1+f
|
||||||
|
# cursor-home=Home Control+a
|
||||||
|
# cursor-end=End Control+e
|
||||||
|
# delete-prev=BackSpace
|
||||||
|
# delete-prev-word=Mod1+BackSpace Control+BackSpace
|
||||||
|
# delete-next=Delete
|
||||||
|
# delete-next-word=Mod1+d Control+Delete
|
||||||
|
# delete-to-start=Control+u
|
||||||
|
# delete-to-end=Control+k
|
||||||
|
# extend-char=Shift+Right
|
||||||
|
# extend-to-word-boundary=Control+w Control+Shift+Right
|
||||||
|
# extend-to-next-whitespace=Control+Shift+w
|
||||||
|
# extend-line-down=Shift+Down
|
||||||
|
# extend-backward-char=Shift+Left
|
||||||
|
# extend-backward-to-word-boundary=Control+Shift+Left
|
||||||
|
# extend-backward-to-next-whitespace=none
|
||||||
|
# extend-line-up=Shift+Up
|
||||||
|
# clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
|
||||||
|
# primary-paste=Shift+Insert
|
||||||
|
# unicode-input=none
|
||||||
|
# scrollback-up-page=Shift+Page_Up Shift+KP_Page_Up
|
||||||
|
# scrollback-up-half-page=none
|
||||||
|
# scrollback-up-line=none
|
||||||
|
# scrollback-down-page=Shift+Page_Down Shift+KP_Page_Down
|
||||||
|
# scrollback-down-half-page=none
|
||||||
|
# scrollback-down-line=none
|
||||||
|
# scrollback-home=none
|
||||||
|
# scrollback-end=none
|
||||||
|
|
||||||
|
[url-bindings]
|
||||||
|
# cancel=Control+g Control+c Control+d Escape
|
||||||
|
# toggle-url-visible=t
|
||||||
|
|
||||||
|
[text-bindings]
|
||||||
|
# \x03=Mod4+c # Map Super+c -> Ctrl+c
|
||||||
|
|
||||||
|
[mouse-bindings]
|
||||||
|
# scrollback-up-mouse=BTN_WHEEL_BACK
|
||||||
|
# scrollback-down-mouse=BTN_WHEEL_FORWARD
|
||||||
|
# font-increase=Control+BTN_WHEEL_BACK
|
||||||
|
# font-decrease=Control+BTN_WHEEL_FORWARD
|
||||||
|
# selection-override-modifiers=Shift
|
||||||
|
# primary-paste=BTN_MIDDLE
|
||||||
|
# select-begin=BTN_LEFT
|
||||||
|
# select-begin-block=Control+BTN_LEFT
|
||||||
|
# select-extend=BTN_RIGHT
|
||||||
|
# select-extend-character-wise=Control+BTN_RIGHT
|
||||||
|
# select-word=BTN_LEFT-2
|
||||||
|
# select-word-whitespace=Control+BTN_LEFT-2
|
||||||
|
# select-quote = BTN_LEFT-3
|
||||||
|
# select-row=BTN_LEFT-4
|
||||||
|
|
||||||
|
# vim: ft=dosini
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
[Settings]
|
|
||||||
gtk-icon-theme-name=breeze-dark
|
|
||||||
gtk-theme-name=Breeze-Dark
|
|
||||||
gtk-cursor-theme-name=xcursor-breeze
|
|
||||||
gtk-font-name=Noto Sans 10
|
|
||||||
gtk-xft-antialias=1
|
|
||||||
gtk-xft-hinting=1
|
|
||||||
gtk-xft-hintstyle=hintslight
|
|
||||||
gtk-xft-rgba=rgb
|
|
||||||
gtk-application-prefer-dark-theme=true
|
|
||||||
gtk-cursor-theme-size=0
|
|
||||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
|
||||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
|
||||||
gtk-button-images=0
|
|
||||||
gtk-menu-images=0
|
|
||||||
gtk-enable-event-sounds=1
|
|
||||||
gtk-enable-input-feedback-sounds=1
|
|
||||||
@@ -1,278 +0,0 @@
|
|||||||
# Set mod key to Super
|
|
||||||
set $mod Mod4
|
|
||||||
|
|
||||||
# set default desktop layout (default is tiling)
|
|
||||||
# workspace_layout tabbed <stacking|tabbed>
|
|
||||||
|
|
||||||
# Configure border style <normal|1pixel|pixel xx|none|pixel>
|
|
||||||
default_border normal
|
|
||||||
default_floating_border normal
|
|
||||||
for_window [all] title_format "%class - %title"
|
|
||||||
|
|
||||||
# Hide borders
|
|
||||||
hide_edge_borders none
|
|
||||||
|
|
||||||
# configure some stuff
|
|
||||||
focus_follows_mouse no
|
|
||||||
mouse_warping none
|
|
||||||
workspace_auto_back_and_forth no
|
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
|
||||||
# is used in the bar {} block below.
|
|
||||||
font xft:URWGothic-Book 11
|
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows
|
|
||||||
floating_modifier $mod
|
|
||||||
|
|
||||||
# Autostart applications
|
|
||||||
exec --no-startup-id pulseaudio
|
|
||||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
|
||||||
exec --no-startup-id nm-applet
|
|
||||||
exec --no-startup-id volumeicon
|
|
||||||
exec --no-startup-id nitrogen --restore
|
|
||||||
exec --no-startup-id pamac-tray
|
|
||||||
exec --no-startup-id xautolock -time 10 -locker blurlock
|
|
||||||
exec --no-startup-id blueman-applet
|
|
||||||
exec --no-startup-id pasystray
|
|
||||||
exec_always --no-startup-id fix_xcursor
|
|
||||||
|
|
||||||
# HB STARTUP ADDITIONS
|
|
||||||
exec --no-startup-id setxkbmap -layout us -model pc105 -variant altgr-weur -option caps:escape
|
|
||||||
exec --no-startup-id redshift-qt -l 59.91:10.76
|
|
||||||
exec --no-startup-id nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=60
|
|
||||||
|
|
||||||
# div bindings
|
|
||||||
bindsym $mod+Shift+q kill
|
|
||||||
bindsym $mod+q split toggle
|
|
||||||
bindsym $mod+v split h; exec notify-send 'tile horizontally'
|
|
||||||
bindsym $mod+s split v; exec notify-send 'tile vertically'
|
|
||||||
bindsym $mod+f fullscreen toggle
|
|
||||||
|
|
||||||
bindsym $mod+w layout stacking
|
|
||||||
bindsym $mod+t layout tabbed
|
|
||||||
bindsym $mod+e layout toggle split
|
|
||||||
bindsym $mod+a focus parent
|
|
||||||
bindsym $mod+Shift+a focus child
|
|
||||||
|
|
||||||
bindsym $mod+r reload
|
|
||||||
bindsym $mod+Shift+r restart
|
|
||||||
|
|
||||||
bindsym $mod+space focus mode_toggle
|
|
||||||
bindsym $mod+Shift+space floating toggle
|
|
||||||
bindsym $mod+Ctrl+space sticky toggle
|
|
||||||
|
|
||||||
bindsym $mod+slash scratchpad show
|
|
||||||
bindsym $mod+minus scratchpad show
|
|
||||||
bindsym $mod+Shift+slash move scratchpad
|
|
||||||
bindsym $mod+Shift+minus move scratchpad
|
|
||||||
|
|
||||||
bindsym $mod+h focus left
|
|
||||||
bindsym $mod+j focus down
|
|
||||||
bindsym $mod+k focus up
|
|
||||||
bindsym $mod+l focus right
|
|
||||||
|
|
||||||
bindsym $mod+Shift+h move left
|
|
||||||
bindsym $mod+Shift+j move down
|
|
||||||
bindsym $mod+Shift+k move up
|
|
||||||
bindsym $mod+Shift+l move right
|
|
||||||
|
|
||||||
bindsym Pause exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
|
||||||
bindsym Print exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
|
||||||
bindsym Scroll_Lock exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
|
||||||
|
|
||||||
set $rofiopts -show-icons -matching fuzzy -lines 10 -eh 2 -width 30
|
|
||||||
bindsym $mod+d exec rofi -show drun $rofiopts
|
|
||||||
bindsym $mod+Shift+d exec rofi -show run $rofiopts
|
|
||||||
|
|
||||||
bindsym $mod+Return exec wezterm
|
|
||||||
bindsym $mod+Shift+Return exec urxvt
|
|
||||||
bindsym $mod+Shift+s --release exec --no-startup-id cd $(xdg-user-dir PICTURES) && scrot --freeze --select --exec 'xclip -selection clipboard -t image/png -i $f'
|
|
||||||
bindsym $mod+Shift+x --release exec --no-startup-id xkill
|
|
||||||
|
|
||||||
bindsym $mod+F1 exec wezterm -e htop
|
|
||||||
bindsym $mod+F2 exec qutebrowser
|
|
||||||
bindsym $mod+F5 exec pavucontrol-qt
|
|
||||||
bindsym $mod+F6 exec quodlibet
|
|
||||||
bindsym $mod+F7 exec wezterm -e ncspot
|
|
||||||
bindsym $mod+F10 exec dunstctl history-pop
|
|
||||||
bindsym $mod+Shift+F10 exec dunstctl close-all
|
|
||||||
bindsym $mod+F11 exec setxkbmap -layout no -model pc105 -variant nodeadkeys -option caps:escape
|
|
||||||
bindsym $mod+F12 exec setxkbmap -layout us -model pc105 -variant altgr-weur -option caps:escape
|
|
||||||
bindsym $mod+p exec pcmanfm-qt
|
|
||||||
bindsym $mod+Shift+p exec wezterm -e ranger
|
|
||||||
bindsym $mod+c exec qalculate-qt
|
|
||||||
|
|
||||||
bindsym $mod+Shift+e mode "$mode_system"
|
|
||||||
bindsym $mod+z mode "resize"
|
|
||||||
bindsym $mod+g mode "$mode_gaps"
|
|
||||||
|
|
||||||
|
|
||||||
# remove title
|
|
||||||
for_window [class="wezterm"] border pixel 1
|
|
||||||
for_window [class="urxvt"] border pixel 1
|
|
||||||
for_window [class="discord"] border pixel 1
|
|
||||||
for_window [class="thunderbird"] border pixel 1
|
|
||||||
for_window [class="qutebrowser"] border pixel 1
|
|
||||||
|
|
||||||
# Open specific applications in floating mode
|
|
||||||
for_window [class="GParted"] floating enable border normal
|
|
||||||
for_window [class="qalculate-qt"] floating enable border normal
|
|
||||||
for_window [class="Manjaro-hello"] floating enable border normal
|
|
||||||
for_window [class="pamac-manager"] floating enable border normal
|
|
||||||
for_window [class="pavucontrol-qt"] floating enable border normal
|
|
||||||
for_window [class="Manjaro Settings Manager"] floating enable border normal
|
|
||||||
for_window [class="Lightdm-settings"] floating enable border normal
|
|
||||||
|
|
||||||
# Open visual settings in sticky floating mode
|
|
||||||
for_window [class="Nitrogen"] floating enable sticky enable border normal
|
|
||||||
for_window [class="Lxappearance"] floating enable sticky enable border normal
|
|
||||||
for_window [class="qt5ct"] floating enable sticky enable border normal
|
|
||||||
for_window [class="qt6ct"] floating enable sticky enable border normal
|
|
||||||
|
|
||||||
# https://github.com/ValveSoftware/steam-for-linux/issues/1040
|
|
||||||
for_window [class="^steam$"] floating enable
|
|
||||||
for_window [class="^Steam$"] floating enable
|
|
||||||
for_window [class="^steam$" title="^Steam$"] floating disable
|
|
||||||
|
|
||||||
# Set shut down, restart and locking features
|
|
||||||
set $mode_system (l)ock, (e)xit, switch_(u)ser, (r)eboot, (s)hutdown
|
|
||||||
mode "$mode_system" {
|
|
||||||
bindsym l exec --no-startup-id i3exit lock, mode "default"
|
|
||||||
bindsym u exec --no-startup-id i3exit switch_user, mode "default"
|
|
||||||
bindsym e exec --no-startup-id i3exit logout, mode "default"
|
|
||||||
bindsym r exec --no-startup-id i3exit reboot, mode "default"
|
|
||||||
bindsym s exec --no-startup-id i3exit shutdown, mode "default"
|
|
||||||
|
|
||||||
# exit system mode: "Enter" or "Escape"
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Resize window (you can also use the mouse for that)
|
|
||||||
mode "resize" {
|
|
||||||
# These bindings trigger as soon as you enter the resize mode
|
|
||||||
bindsym h resize shrink width 10 px or 10 ppt
|
|
||||||
bindsym k resize grow height 10 px or 10 ppt
|
|
||||||
bindsym j resize shrink height 10 px or 10 ppt
|
|
||||||
bindsym l resize grow width 10 px or 10 ppt
|
|
||||||
|
|
||||||
# exit resize mode: Enter or Escape
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Color palette used for the terminal ( ~/.Xresources file )
|
|
||||||
set_from_resource $term_background background
|
|
||||||
set_from_resource $term_foreground foreground
|
|
||||||
set_from_resource $term_color0 color0
|
|
||||||
set_from_resource $term_color1 color1
|
|
||||||
set_from_resource $term_color2 color2
|
|
||||||
set_from_resource $term_color3 color3
|
|
||||||
set_from_resource $term_color4 color4
|
|
||||||
set_from_resource $term_color5 color5
|
|
||||||
set_from_resource $term_color6 color6
|
|
||||||
set_from_resource $term_color7 color7
|
|
||||||
set_from_resource $term_color8 color8
|
|
||||||
set_from_resource $term_color9 color9
|
|
||||||
set_from_resource $term_color10 color10
|
|
||||||
set_from_resource $term_color11 color11
|
|
||||||
set_from_resource $term_color12 color12
|
|
||||||
set_from_resource $term_color13 color13
|
|
||||||
set_from_resource $term_color14 color14
|
|
||||||
set_from_resource $term_color15 color15
|
|
||||||
|
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status if available)
|
|
||||||
bar {
|
|
||||||
i3bar_command i3bar
|
|
||||||
status_command i3status
|
|
||||||
position bottom
|
|
||||||
|
|
||||||
tray_output primary
|
|
||||||
bindsym button4 nop
|
|
||||||
bindsym button5 nop
|
|
||||||
strip_workspace_numbers yes
|
|
||||||
|
|
||||||
colors {
|
|
||||||
background #222D31
|
|
||||||
statusline #F9FAF9
|
|
||||||
separator #454947
|
|
||||||
|
|
||||||
# border backgr. text
|
|
||||||
focused_workspace #F9FAF9 #16a085 #292F34
|
|
||||||
active_workspace #595B5B #353836 #FDF6E3
|
|
||||||
inactive_workspace #595B5B #222D31 #EEE8D5
|
|
||||||
binding_mode #16a085 #2C2C2C #F9FAF9
|
|
||||||
urgent_workspace #16a085 #FDF6E3 #E5201D
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Theme colors
|
|
||||||
# class border backgr. text indic. child_border
|
|
||||||
client.focused #556064 #f9ce5c #000000 #FDF6E3
|
|
||||||
client.focused_inactive #CB4B16 #2F3D44 #1ABC9C #454948
|
|
||||||
client.unfocused #556064 #2F3D44 #1ABC9C #454948
|
|
||||||
client.urgent #CB4B16 #FDF6E3 #1ABC9C #268BD2
|
|
||||||
client.placeholder #000000 #0c0c0c #ffffff #000000
|
|
||||||
|
|
||||||
client.background #2B2C2B
|
|
||||||
# Theme colors (ORIGINAL)
|
|
||||||
# client.focused #556064 #80FFF9
|
|
||||||
# client.focused_inactive #2F3D44
|
|
||||||
# client.unfocused #2F3D44
|
|
||||||
|
|
||||||
#############################
|
|
||||||
### settings for i3-gaps: ###
|
|
||||||
#############################
|
|
||||||
|
|
||||||
# Set inner/outer gaps
|
|
||||||
gaps inner 0
|
|
||||||
gaps outer 0
|
|
||||||
|
|
||||||
# Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size.
|
|
||||||
# gaps inner|outer current|all set|plus|minus <px>
|
|
||||||
# gaps inner all set 10
|
|
||||||
# gaps outer all plus 5
|
|
||||||
|
|
||||||
# Smart gaps (gaps used if only more than one container on the workspace)
|
|
||||||
smart_gaps on
|
|
||||||
|
|
||||||
# Smart borders (draw borders around container only if it is not the only container on this workspace)
|
|
||||||
# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0)
|
|
||||||
smart_borders on
|
|
||||||
|
|
||||||
# Press $mod+Shift+g to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces.
|
|
||||||
set $mode_gaps Gaps: (o) outer, (i) inner
|
|
||||||
set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
|
||||||
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
|
||||||
|
|
||||||
mode "$mode_gaps" {
|
|
||||||
bindsym o mode "$mode_gaps_outer"
|
|
||||||
bindsym i mode "$mode_gaps_inner"
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
mode "$mode_gaps_inner" {
|
|
||||||
bindsym plus gaps inner current plus 5
|
|
||||||
bindsym minus gaps inner current minus 5
|
|
||||||
bindsym 0 gaps inner current set 0
|
|
||||||
|
|
||||||
bindsym Shift+plus gaps inner all plus 5
|
|
||||||
bindsym Shift+minus gaps inner all minus 5
|
|
||||||
bindsym Shift+0 gaps inner all set 0
|
|
||||||
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
mode "$mode_gaps_outer" {
|
|
||||||
bindsym plus gaps outer current plus 5
|
|
||||||
bindsym minus gaps outer current minus 5
|
|
||||||
bindsym 0 gaps outer current set 0
|
|
||||||
|
|
||||||
bindsym Shift+plus gaps outer all plus 5
|
|
||||||
bindsym Shift+minus gaps outer all minus 5
|
|
||||||
bindsym Shift+0 gaps outer all set 0
|
|
||||||
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
include ~/.config/i3/local_config
|
|
||||||
@@ -1,74 +0,0 @@
|
|||||||
# i3status configuration file.
|
|
||||||
# see "man i3status" for documentation.
|
|
||||||
|
|
||||||
general {
|
|
||||||
colors = true
|
|
||||||
interval = 5
|
|
||||||
}
|
|
||||||
|
|
||||||
# order += "ipv6"
|
|
||||||
|
|
||||||
order += "cpu_usage"
|
|
||||||
cpu_usage {
|
|
||||||
format = " ☢ CPU %usage "
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "cpu_temperature 0"
|
|
||||||
cpu_temperature 0 {
|
|
||||||
format = " %degrees °C "
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "load"
|
|
||||||
load {
|
|
||||||
format = "load %1min"
|
|
||||||
}
|
|
||||||
|
|
||||||
# order += "wireless wlan0"
|
|
||||||
# order += "ethernet eth0"
|
|
||||||
order += "wireless _first_"
|
|
||||||
wireless _first_ {
|
|
||||||
# format_up = " W: (%quality at %essid, %bitrate / %frequency) %ip "
|
|
||||||
format_up = " W: (%quality at %essid, %bitrate / %frequency) "
|
|
||||||
format_down = " no wlan "
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "ethernet _first_"
|
|
||||||
ethernet _first_ {
|
|
||||||
format_up = " lan: %ip %speed "
|
|
||||||
format_down = " no lan "
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "disk /"
|
|
||||||
disk "/" {
|
|
||||||
format = " / %total / %percentage_avail "
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "disk /mnt/hdd1/"
|
|
||||||
disk "/mnt/hdd1/" {
|
|
||||||
format = " /mnt/hdd1/ ⛁ %total / %percentage_avail "
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "disk /mnt/OneDrive/"
|
|
||||||
disk "/mnt/OneDrive/" {
|
|
||||||
format = " /mnt/OneDrive/ ⛁ %total / %percentage_avail "
|
|
||||||
}
|
|
||||||
|
|
||||||
# order += "battery 0"
|
|
||||||
battery 0 {
|
|
||||||
format = "%status %percentage %remaining "
|
|
||||||
}
|
|
||||||
|
|
||||||
# order += "run_watch DHCP"
|
|
||||||
run_watch DHCP {
|
|
||||||
pidfile = "/var/run/dhclient*.pid"
|
|
||||||
}
|
|
||||||
|
|
||||||
# order += "run_watch VPN"
|
|
||||||
run_watch VPN {
|
|
||||||
pidfile = "/var/run/vpnc/pid"
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "tztime local"
|
|
||||||
tztime local {
|
|
||||||
format = " %Y-%m-%d %H:%M:%S "
|
|
||||||
}
|
|
||||||
@@ -1,69 +0,0 @@
|
|||||||
# i3status configuration file.
|
|
||||||
# see "man i3status" for documentation.
|
|
||||||
|
|
||||||
general {
|
|
||||||
colors = true
|
|
||||||
interval = 5
|
|
||||||
}
|
|
||||||
|
|
||||||
# order += "ipv6"
|
|
||||||
|
|
||||||
order += "cpu_usage"
|
|
||||||
cpu_usage {
|
|
||||||
format = " ☢ CPU %usage "
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "cpu_temperature 0"
|
|
||||||
cpu_temperature 0 {
|
|
||||||
format = " %degrees °C "
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "load"
|
|
||||||
load {
|
|
||||||
format = "load %1min"
|
|
||||||
}
|
|
||||||
|
|
||||||
# order += "wireless wlan0"
|
|
||||||
# order += "ethernet eth0"
|
|
||||||
order += "wireless _first_"
|
|
||||||
wireless _first_ {
|
|
||||||
# format_up = " W: (%quality at %essid, %bitrate / %frequency) %ip "
|
|
||||||
format_up = " W: (%quality at %essid, %bitrate / %frequency) "
|
|
||||||
format_down = " no wlan "
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "ethernet _first_"
|
|
||||||
ethernet _first_ {
|
|
||||||
format_up = " lan: %ip %speed "
|
|
||||||
format_down = " no lan "
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "disk /"
|
|
||||||
disk "/" {
|
|
||||||
format = " / %total / %percentage_avail "
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "disk /mnt/hdd1/"
|
|
||||||
disk "/mnt/hdd1/" {
|
|
||||||
format = " /mnt/hdd1/ ⛁ %total / %percentage_avail "
|
|
||||||
}
|
|
||||||
|
|
||||||
# order += "battery 0"
|
|
||||||
battery 0 {
|
|
||||||
format = "%status %percentage %remaining "
|
|
||||||
}
|
|
||||||
|
|
||||||
# order += "run_watch DHCP"
|
|
||||||
run_watch DHCP {
|
|
||||||
pidfile = "/var/run/dhclient*.pid"
|
|
||||||
}
|
|
||||||
|
|
||||||
# order += "run_watch VPN"
|
|
||||||
run_watch VPN {
|
|
||||||
pidfile = "/var/run/vpnc/pid"
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "tztime local"
|
|
||||||
tztime local {
|
|
||||||
format = " %Y-%m-%d %H:%M:%S "
|
|
||||||
}
|
|
||||||
+28
@@ -0,0 +1,28 @@
|
|||||||
|
font=Cozette 11
|
||||||
|
format=<b>%a ⏵</b> %s\n%b
|
||||||
|
sort=-time
|
||||||
|
output=DP-2
|
||||||
|
layer=overlay
|
||||||
|
anchor=bottom-center
|
||||||
|
background-color=#2e3440
|
||||||
|
width=300
|
||||||
|
height=110
|
||||||
|
margin=5
|
||||||
|
padding=0,5,10
|
||||||
|
border-size=2
|
||||||
|
border-color=#88c0d0
|
||||||
|
border-radius=15
|
||||||
|
icons=0
|
||||||
|
max-icon-size=64
|
||||||
|
default-timeout=0
|
||||||
|
ignore-timeout=1
|
||||||
|
|
||||||
|
[urgency=normal]
|
||||||
|
border-color=#d08770
|
||||||
|
|
||||||
|
[urgency=high]
|
||||||
|
border-color=#bf616a
|
||||||
|
default-timeout=0
|
||||||
|
|
||||||
|
[summary~="log-.*"]
|
||||||
|
border-color=#a3be8c
|
||||||
+25
-21
@@ -4,7 +4,13 @@ set -e
|
|||||||
# general
|
# general
|
||||||
sudo systemctl enable --now sshd.service
|
sudo systemctl enable --now sshd.service
|
||||||
sudo systemctl enable --now fstrim.timer
|
sudo systemctl enable --now fstrim.timer
|
||||||
yay -S plymouth tldextract go nodejs unzip exa pcmanfm-qt
|
yay -S plymouth tldextract go nodejs unzip exa topgrade
|
||||||
|
|
||||||
|
# display manager
|
||||||
|
yay -S greetd gtkgreet
|
||||||
|
|
||||||
|
# sway
|
||||||
|
yay -S manjaro-sway-settings swaytools swaylock pamac-tray-plasma unipicker mako ly wlsunset pcmanfm-qt wev gtklock
|
||||||
|
|
||||||
# nvidia
|
# nvidia
|
||||||
yay -S cuda nvidia-settings nvidia-docker
|
yay -S cuda nvidia-settings nvidia-docker
|
||||||
@@ -13,15 +19,14 @@ yay -S cuda nvidia-settings nvidia-docker
|
|||||||
yay -S python-pip pyenv ipython
|
yay -S python-pip pyenv ipython
|
||||||
|
|
||||||
# sound
|
# sound
|
||||||
yay -S manjaro-pipewire pavucontrol-qt pasystray
|
yay -S manjaro-pipewire pavucontrol-qt
|
||||||
|
|
||||||
# theme
|
# theme
|
||||||
yay -S mint-themes mint-y-icons darkly breeze-grub breeze-gtk breeze-icons
|
yay -S mint-themes mint-y-icons kvantum-theme-catppuccin-git catppuccin-gtk-theme-latte catppuccin-gtk-theme-mocha breeze-grub breeze-gtk breeze-icons
|
||||||
yay -S lxappearance-gtk3
|
|
||||||
yay -S lxinput-gtk3 qt6ct pamac-gtk3
|
yay -S lxinput-gtk3 qt6ct pamac-gtk3
|
||||||
|
|
||||||
# terminal and shell
|
# terminal and shell
|
||||||
yay -S wezterm nushell urxvt-resize-font
|
yay -S wezterm nushell
|
||||||
chsh -s /usr/bin/nu
|
chsh -s /usr/bin/nu
|
||||||
|
|
||||||
# nushell
|
# nushell
|
||||||
@@ -32,18 +37,18 @@ oh-my-posh init nu --config https://raw.githubusercontent.com/JanDeDobbeleer/oh-
|
|||||||
yay -S neovim tmux tig diff-so-fancy ripgrep nvimpager
|
yay -S neovim tmux tig diff-so-fancy ripgrep nvimpager
|
||||||
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
|
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
|
||||||
# git
|
# git
|
||||||
yay -S git-secret git-delta git-lfs
|
yay -S git-secret git-delta git-lfs lazygit
|
||||||
# formatters
|
# formatters
|
||||||
yay -S python-black python-blackdoc python-pyment python-isort \
|
yay -S python-black python-blackdoc python-pyment python-isort \
|
||||||
eslint_d eslint jq yamlfmt shfmt prettierd
|
eslint_d eslint jq yamlfmt shfmt prettierd
|
||||||
|
|
||||||
# file sync
|
# file sync
|
||||||
yay -S syncthings rclone
|
yay -S syncthings rclone
|
||||||
sudo systemctl edit syncthing@hjalmarlucius.service # uncomment AmbientCapabilities
|
sudo systemctl edit syncthing@hjalmarlucius.service # uncomment AmbientCapabilities
|
||||||
sudo setcap CAP_CHOWN,CAP_FOWNER=pe /usr/bin/syncthing
|
sudo setcap CAP_CHOWN,CAP_FOWNER=pe /usr/bin/syncthing
|
||||||
sudo systemctl enable --now syncthing@hjalmarlucius.service
|
sudo systemctl enable --now syncthing@hjalmarlucius.service
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
rclone config # follow instructions and paste creds from https://console.cloud.google.com/apis/credentials
|
rclone config # follow instructions and paste creds from https://console.cloud.google.com/apis/credentials
|
||||||
systemctl --user enable --now rclone-gdrive.service
|
systemctl --user enable --now rclone-gdrive.service
|
||||||
|
|
||||||
# docker incl non-root daemon
|
# docker incl non-root daemon
|
||||||
@@ -57,7 +62,7 @@ sudo systemctl enable --now docker.service
|
|||||||
yay -S manajaro-printer samsung-unified-driver-printer
|
yay -S manajaro-printer samsung-unified-driver-printer
|
||||||
|
|
||||||
# monitors
|
# monitors
|
||||||
yay -S iftop bpytop nvtop
|
yay -S iftop btop nvtop lazyjournal isd
|
||||||
|
|
||||||
# pdf
|
# pdf
|
||||||
yay -S sioyek zathura zathura-pdf-mupdf zathura-djvu zathura-ps
|
yay -S sioyek zathura zathura-pdf-mupdf zathura-djvu zathura-ps
|
||||||
@@ -75,21 +80,20 @@ yay -S vlc protobuf yt-dlp
|
|||||||
yay -S castnow
|
yay -S castnow
|
||||||
|
|
||||||
# div applications
|
# div applications
|
||||||
yay -S i3status \
|
yay -S calcurse python-httplib2 \
|
||||||
qutebrowser \
|
|
||||||
firefox \
|
|
||||||
rofi \
|
|
||||||
mutt \
|
|
||||||
redshift-qt \
|
|
||||||
discord \
|
discord \
|
||||||
teamviewer \
|
|
||||||
zerotier-one \
|
|
||||||
qalculate-qt \
|
|
||||||
quodlibet \
|
|
||||||
ncspot \
|
|
||||||
discordo-git \
|
discordo-git \
|
||||||
|
firefox \
|
||||||
|
i3status \
|
||||||
|
mutt \
|
||||||
|
ncspot \
|
||||||
|
qalculate-qt \
|
||||||
|
qbittorrent \
|
||||||
|
quodlibet \
|
||||||
|
qutebrowser \
|
||||||
|
rofi \
|
||||||
steam \
|
steam \
|
||||||
qbittorrent
|
teamviewer
|
||||||
|
|
||||||
# firefox windowed fullscreen
|
# firefox windowed fullscreen
|
||||||
# can be achieved by setting full-screen-api.ignore-widgets to true in about:config
|
# can be achieved by setting full-screen-api.ignore-widgets to true in about:config
|
||||||
|
|||||||
+3
-3
@@ -20,9 +20,9 @@ text/plain=nvim.desktop;
|
|||||||
text/x-log=nvim.desktop;
|
text/x-log=nvim.desktop;
|
||||||
application/sql=nvim.desktop;
|
application/sql=nvim.desktop;
|
||||||
text/x-python=nvim.desktop;
|
text/x-python=nvim.desktop;
|
||||||
image/jpeg=viewnior.desktop;
|
image/jpeg=imv.desktop;
|
||||||
image/png=viewnior.desktop;
|
image/png=imv.desktop;
|
||||||
image/svg+xml=viewnior.desktop;
|
image/svg+xml=imv.desktop;
|
||||||
application/pdf=org.pwmt.zathura.desktop;
|
application/pdf=org.pwmt.zathura.desktop;
|
||||||
application/x-bittorrent=org.qbittorrent.qBittorrent.desktop;
|
application/x-bittorrent=org.qbittorrent.qBittorrent.desktop;
|
||||||
inode/directory=ranger.desktop;
|
inode/directory=ranger.desktop;
|
||||||
|
|||||||
+5
-5
@@ -1,13 +1,13 @@
|
|||||||
[Appearance]
|
[Appearance]
|
||||||
color_scheme_path=/usr/share/qt5ct/colors/darker.conf
|
color_scheme_path=/usr/share/qt5ct/colors/darker.conf
|
||||||
custom_palette=true
|
custom_palette=false
|
||||||
icon_theme=breeze-dark
|
icon_theme=breeze-dark
|
||||||
standard_dialogs=default
|
standard_dialogs=default
|
||||||
style=Darkly
|
style=kvantum
|
||||||
|
|
||||||
[Fonts]
|
[Fonts]
|
||||||
fixed="Akkurat-Mono,12,-1,5,57,0,0,0,0,0,Regular"
|
fixed="Akkurat-Mono,12,-1,5,57,0,0,0,0,0"
|
||||||
general="Noto Sans,12,-1,5,50,0,0,0,0,0,Regular"
|
general="Noto Sans,12,-1,5,50,0,0,0,0,0"
|
||||||
|
|
||||||
[Interface]
|
[Interface]
|
||||||
activate_item_on_single_click=1
|
activate_item_on_single_click=1
|
||||||
@@ -31,7 +31,7 @@ geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x6\xb8\0\0\x2\xaf\0\0\t2\0\0\x4
|
|||||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\a\xaa\0\0\x2\x8e\0\0\n0\0\0\x4\x9c\0\0\a\xac\0\0\x2\xa8\0\0\n.\0\0\x4\x9a\0\0\0\0\0\0\0\0\x14\0\0\0\a\xac\0\0\x2\xa8\0\0\n.\0\0\x4\x9a)
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\a\xaa\0\0\x2\x8e\0\0\n0\0\0\x4\x9c\0\0\a\xac\0\0\x2\xa8\0\0\n.\0\0\x4\x9a\0\0\0\0\0\0\0\0\x14\0\0\0\a\xac\0\0\x2\xa8\0\0\n.\0\0\x4\x9a)
|
||||||
|
|
||||||
[SettingsWindow]
|
[SettingsWindow]
|
||||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\no\0\0\x1\x32\0\0\xe\xd5\0\0\x4\xea\0\0\nq\0\0\x1L\0\0\xe\xd3\0\0\x4\xe8\0\0\0\0\0\0\0\0\x14\0\0\0\nq\0\0\x1L\0\0\xe\xd3\0\0\x4\xe8)
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\t\xdd\0\0\x5(\0\0\0\0\0\0\0\0\0\0\x4\x62\0\0\x3\x9c\0\0\0\0\x2\0\0\0\x14\0\0\0\0\0\0\0\0\0\0\0\t\xdd\0\0\x5()
|
||||||
|
|
||||||
[Troubleshooting]
|
[Troubleshooting]
|
||||||
force_raster_widgets=1
|
force_raster_widgets=1
|
||||||
|
|||||||
+5
-5
@@ -1,13 +1,13 @@
|
|||||||
[Appearance]
|
[Appearance]
|
||||||
color_scheme_path=/usr/share/qt6ct/colors/darker.conf
|
color_scheme_path=/usr/share/qt6ct/colors/darker.conf
|
||||||
custom_palette=true
|
custom_palette=false
|
||||||
icon_theme=breeze-dark
|
icon_theme=breeze-dark
|
||||||
standard_dialogs=default
|
standard_dialogs=default
|
||||||
style=Darkly
|
style=kvantum
|
||||||
|
|
||||||
[Fonts]
|
[Fonts]
|
||||||
fixed="Akkurat-Mono,12,-1,5,500,0,0,0,0,0,0,0,0,0,0,1,Regular"
|
fixed="Akkurat-Mono,12,-1,5,500,0,0,0,0,0,0,0,0,0,0,1"
|
||||||
general="Noto Sans,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular"
|
general="Noto Sans,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
|
||||||
|
|
||||||
[Interface]
|
[Interface]
|
||||||
activate_item_on_single_click=1
|
activate_item_on_single_click=1
|
||||||
@@ -28,7 +28,7 @@ wheel_scroll_lines=3
|
|||||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\a!\0\0\x1\xe3\0\0\t\xa7\0\0\x3\xf1\0\0\a#\0\0\x1\xfd\0\0\t\xa5\0\0\x3\xef\0\0\0\0\0\0\0\0\x14\0\0\0\a#\0\0\x1\xfd\0\0\t\xa5\0\0\x3\xef)
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\a!\0\0\x1\xe3\0\0\t\xa7\0\0\x3\xf1\0\0\a#\0\0\x1\xfd\0\0\t\xa5\0\0\x3\xef\0\0\0\0\0\0\0\0\x14\0\0\0\a#\0\0\x1\xfd\0\0\t\xa5\0\0\x3\xef)
|
||||||
|
|
||||||
[SettingsWindow]
|
[SettingsWindow]
|
||||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1\xb8\0\0\x2\t\0\0\x5\x9b\0\0\x5\xba\0\0\x1\xba\0\0\x2#\0\0\x5\x99\0\0\x5\xb8\0\0\0\0\0\0\0\0\x14\0\0\0\x1\xba\0\0\x2#\0\0\x5\x99\0\0\x5\xb8)
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x6\x8b\0\0\x5(\0\0\0\0\0\0\0\0\0\0\x6\x8b\0\0\x5(\0\0\0\0\0\0\0\0\x14\0\0\0\0\0\0\0\0\0\0\0\x6\x8b\0\0\x5()
|
||||||
|
|
||||||
[Troubleshooting]
|
[Troubleshooting]
|
||||||
force_raster_widgets=1
|
force_raster_widgets=1
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ c.content.tls.certificate_errors = "ask-block-thirdparty"
|
|||||||
c.downloads.position = "bottom"
|
c.downloads.position = "bottom"
|
||||||
c.downloads.prevent_mixed_content = False
|
c.downloads.prevent_mixed_content = False
|
||||||
c.editor.command = [
|
c.editor.command = [
|
||||||
"urxvt",
|
"foot",
|
||||||
"-title",
|
"-title",
|
||||||
"scratchpad",
|
"scratchpad",
|
||||||
"-geometry",
|
"-geometry",
|
||||||
|
|||||||
+316
@@ -0,0 +1,316 @@
|
|||||||
|
include /etc/sway/config.d/10-service.conf
|
||||||
|
include /etc/sway/config.d/50-systemd-user.conf
|
||||||
|
|
||||||
|
# DEFINITIONS
|
||||||
|
# theme definitions must come before $rofi_theme
|
||||||
|
include ~/.config/sway/definitions.d/*
|
||||||
|
set $mod Mod4
|
||||||
|
set $left h
|
||||||
|
set $down j
|
||||||
|
set $up k
|
||||||
|
set $right l
|
||||||
|
# Workspace numbers
|
||||||
|
set $ws1 number 1
|
||||||
|
set $ws2 number 2
|
||||||
|
set $ws3 number 3
|
||||||
|
set $ws4 number 4
|
||||||
|
set $ws5 number 5
|
||||||
|
set $ws6 number 6
|
||||||
|
set $ws7 number 7
|
||||||
|
set $ws8 number 8
|
||||||
|
set $ws9 number 9
|
||||||
|
set $ws10 number 10
|
||||||
|
|
||||||
|
# scripts
|
||||||
|
set $script_path /usr/share/sway/scripts
|
||||||
|
# terminal editor
|
||||||
|
set $term footclient
|
||||||
|
set $term_float footclient --app-id floating_shell --window-size-chars 120x45
|
||||||
|
# swayidle
|
||||||
|
set $locking gtklock --daemonize --follow-focus --idle-hide --start-hidden -s /etc/greetd/gtkgreet.css
|
||||||
|
# scaling
|
||||||
|
set $scale_up $script_path/scale.sh up
|
||||||
|
set $scale_down $script_path/scale.sh down
|
||||||
|
set $scale_default $script_path/scale.sh default
|
||||||
|
# calendar
|
||||||
|
set $calendar $term_float calcurse
|
||||||
|
# audio
|
||||||
|
set $pulseaudio $term_float pulsemixer
|
||||||
|
set $sink_volume pactl get-sink-volume @DEFAULT_SINK@ | grep '^Volume:' | cut -d / -f 2 | tr -d ' ' | sed 's/%//'
|
||||||
|
set $source_volume pactl get-source-volume @DEFAULT_SOURCE@ | grep '^Volume:' | cut -d / -f 2 | tr -d ' ' | sed 's/%//'
|
||||||
|
set $volume_down $(pactl set-sink-volume @DEFAULT_SINK@ -5% && $sink_volume)
|
||||||
|
set $volume_up $(pactl set-sink-volume @DEFAULT_SINK@ +5% && $sink_volume)
|
||||||
|
set $volume_mute $(pactl set-sink-mute @DEFAULT_SINK@ toggle && pactl get-sink-mute @DEFAULT_SINK@ | sed -En "/no/ s/.*/$($sink_volume)/p; /yes/ s/.*/0/p")
|
||||||
|
set $mic_mute $(pactl set-source-mute @DEFAULT_SOURCE@ toggle && pactl get-source-mute @DEFAULT_SOURCE@ | sed -En "/no/ s/.*/$($source_volume)/p; /yes/ s/.*/0/p")
|
||||||
|
# rofi
|
||||||
|
set $rofi_theme "* {\nlightbg: $background-color;\nbackground: $background-color;\nlightfg: $accent-color;\nforeground: $text-color;\n}\nwindow {\nwidth: 25em;\n}\n"
|
||||||
|
set $menu rofi -show combi -combi-modi "drun,run" -terminal "$term" -ssh-command "{terminal} {ssh-client} {host} [-p {port}]" -run-shell-command "{terminal} {cmd}" -show-icons -font "$gui-font" -lines 10
|
||||||
|
# Screenshot commands
|
||||||
|
set $grimshot grimshot
|
||||||
|
set $pipe_output $grimshot save output -
|
||||||
|
set $pipe_selection $grimshot save area -
|
||||||
|
set $notify_paste [[ $(wl-paste -l) == "image/png" ]] && notify-send "Screenshot copied to clipboard"
|
||||||
|
set $swappy swappy -f -
|
||||||
|
set $upload_pipe curl -s -F "file=@-;filename=.png" https://x0.at/ | tee >(wl-copy) >(xargs notify-send)
|
||||||
|
set $screenshot_screen $pipe_output | $swappy && $notify_paste
|
||||||
|
set $screenshot_screen_upload $pipe_output | $upload_pipe
|
||||||
|
set $screenshot_selection $pipe_selection | $swappy && $notify_paste
|
||||||
|
set $screenshot_selection_upload $pipe_selection | $upload_pipe
|
||||||
|
|
||||||
|
# AUTOSTART APPLICATIONS
|
||||||
|
exec {
|
||||||
|
pamac-tray-plasma
|
||||||
|
blueman-applet
|
||||||
|
wlsunset -l 59.91:10.76
|
||||||
|
flashfocus
|
||||||
|
swayidle -w \
|
||||||
|
timeout 1200 'swaymsg exec "/usr/share/sway/scripts/keyboard-backlight-switch.sh off"' resume 'swaymsg exec "/usr/share/sway/scripts/keyboard-backlight-switch.sh on"' \
|
||||||
|
timeout 1200 'swaymsg exec "$locking"' \
|
||||||
|
timeout 1200 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||||
|
timeout 1200 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||||
|
before-sleep 'swaymsg exec "$locking"' \
|
||||||
|
after-resume 'swaymsg "output * dpms on"' \
|
||||||
|
idlehint '240'
|
||||||
|
# swappy notify
|
||||||
|
$script_path/screenshot-notify.sh
|
||||||
|
# don't lock during movies
|
||||||
|
systemctl --now --user enable idlehack
|
||||||
|
# dynamic workspace names
|
||||||
|
systemctl --now --user enable sworkstyle
|
||||||
|
# preload file browser
|
||||||
|
systemctl --now --user enable pcmanfm
|
||||||
|
# foot-server
|
||||||
|
systemctl --now --user enable foot-server.socket
|
||||||
|
systemctl --now --user enable foot-server
|
||||||
|
}
|
||||||
|
exec_always {
|
||||||
|
nm-applet
|
||||||
|
calcurse --daemon
|
||||||
|
# persist clipboard after close
|
||||||
|
pkill -x wl-clip-persist
|
||||||
|
'wl-clip-persist --clipboard regular --all-mime-type-regex \'(?i)^(?!image/x-inkscape-svg).+\''
|
||||||
|
# mako daemon
|
||||||
|
pkill -x mako
|
||||||
|
$script_path/mako.sh --font "$term-font" --text-color "$text-color" --border-color "$accent-color" --background-color "$background-color" --border-size 3 --width 400 --height 200 --padding 20 --margin 20 --default-timeout 15000
|
||||||
|
# enable noisetorch
|
||||||
|
noisetorch -u
|
||||||
|
noisetorch -i
|
||||||
|
# update rofi theme
|
||||||
|
mkdir -p $HOME/.config/rofi/
|
||||||
|
"echo $rofi_theme > $HOME/.config/rofi/config.rasi"
|
||||||
|
# theming (from manjaro sway desktop config)
|
||||||
|
/usr/share/sway/scripts/enable-gtk-theme.sh "$gtk-theme"
|
||||||
|
/usr/share/sway/scripts/fontconfig.sh "monospace" "$term-font"
|
||||||
|
gsettings set org.gnome.desktop.interface icon-theme "$icon-theme"
|
||||||
|
gsettings set org.gnome.desktop.interface cursor-theme "$cursor-theme"
|
||||||
|
gsettings set org.gnome.desktop.interface font-name "$gui-font"
|
||||||
|
gsettings set org.gnome.desktop.input-sources show-all-sources true
|
||||||
|
gsettings set org.gnome.desktop.interface monospace-font-name "$term-font"
|
||||||
|
gsettings set org.freedesktop.appearance color-scheme "$gtk-color-scheme"
|
||||||
|
gsettings set org.gnome.desktop.interface color-scheme "$gtk-color-scheme"
|
||||||
|
kvantummanager --set "$kvantum-theme"
|
||||||
|
}
|
||||||
|
|
||||||
|
# CONFIGS
|
||||||
|
font xft:Cozette 12
|
||||||
|
focus_follows_mouse no
|
||||||
|
mouse_warping none
|
||||||
|
workspace_auto_back_and_forth no
|
||||||
|
bar {
|
||||||
|
swaybar_command waybar
|
||||||
|
}
|
||||||
|
# don't show gaps if there's only one window on the desktop
|
||||||
|
smart_gaps on
|
||||||
|
gaps inner 20
|
||||||
|
# borders
|
||||||
|
default_border normal
|
||||||
|
default_floating_border normal
|
||||||
|
hide_edge_borders smart
|
||||||
|
|
||||||
|
# BINDINGS
|
||||||
|
include ~/.config/sway/local_config
|
||||||
|
bindsym $mod+Return exec $term
|
||||||
|
bindsym $mod+Shift+Return exec foot
|
||||||
|
bindsym $mod+Shift+q kill
|
||||||
|
bindsym $mod+d exec $menu
|
||||||
|
floating_modifier $mod normal
|
||||||
|
bindsym $mod+r reload
|
||||||
|
bindsym $mod+a focus parent
|
||||||
|
# Moving around
|
||||||
|
bindsym $mod+$left focus left
|
||||||
|
bindsym $mod+$down focus down
|
||||||
|
bindsym $mod+$up focus up
|
||||||
|
bindsym $mod+$right focus right
|
||||||
|
# Moving
|
||||||
|
bindsym $mod+Shift+$left move left
|
||||||
|
bindsym $mod+Shift+$down move down
|
||||||
|
bindsym $mod+Shift+$up move up
|
||||||
|
bindsym $mod+Shift+$right move right
|
||||||
|
# splits
|
||||||
|
bindsym $mod+b splith
|
||||||
|
bindsym $mod+s splitv
|
||||||
|
bindsym $mod+q split toggle
|
||||||
|
# split formats
|
||||||
|
bindsym $mod+w layout stacking
|
||||||
|
bindsym $mod+t layout tabbed
|
||||||
|
bindsym $mod+e layout toggle split
|
||||||
|
bindsym $mod+f fullscreen
|
||||||
|
# floating
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
bindsym $mod+Ctrl+space sticky toggle
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
# scratchpad
|
||||||
|
bindsym $mod+Shift+minus move scratchpad
|
||||||
|
bindsym $mod+Shift+slash move scratchpad
|
||||||
|
bindsym $mod+minus scratchpad show
|
||||||
|
bindsym $mod+slash scratchpad show
|
||||||
|
# sound
|
||||||
|
bindsym Scroll_Lock exec $volume_mute
|
||||||
|
bindsym Print exec $volume_down
|
||||||
|
bindsym Pause exec $volume_up
|
||||||
|
# screenshots
|
||||||
|
bindsym $mod+Shift+s exec --no-startup-id $screenshot_selection
|
||||||
|
# scale
|
||||||
|
bindsym $mod+greater exec $scale_up
|
||||||
|
bindsym $mod+less exec $scale_down
|
||||||
|
bindsym $mod+equal exec $scale_default
|
||||||
|
# apps
|
||||||
|
bindsym $mod+F1 exec qalculate-qt
|
||||||
|
bindsym $mod+F2 exec qutebrowser
|
||||||
|
bindsym $mod+F3 exec quodlibet
|
||||||
|
bindsym $mod+F4 exec $term_float ncspot
|
||||||
|
bindsym $mod+n exec makoctl dismiss
|
||||||
|
bindsym $mod+Shift+n exec makoctl dismiss -a
|
||||||
|
bindsym $mod+p exec pcmanfm-qt
|
||||||
|
bindsym $mod+Shift+p exec $term_float ranger
|
||||||
|
bindsym $mod+u exec unipicker --command "rofi -dmenu | wl-copy"
|
||||||
|
|
||||||
|
# Special keys
|
||||||
|
bindsym --locked XF86AudioMute exec $volume_mute
|
||||||
|
bindsym --locked XF86AudioLowerVolume exec $volume_down
|
||||||
|
bindsym --locked XF86AudioRaiseVolume exec $volume_up
|
||||||
|
bindsym --locked XF86AudioMicMute exec $mic_mute
|
||||||
|
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
|
||||||
|
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
|
||||||
|
|
||||||
|
# resize
|
||||||
|
mode "resize" {
|
||||||
|
bindsym $left resize shrink width 10px
|
||||||
|
bindsym $down resize grow height 10px
|
||||||
|
bindsym $up resize shrink height 10px
|
||||||
|
bindsym $right resize grow width 10px
|
||||||
|
bindsym Shift+$left resize shrink width 50px
|
||||||
|
bindsym Shift+$down resize grow height 50px
|
||||||
|
bindsym Shift+$up resize shrink height 50px
|
||||||
|
bindsym Shift+$right resize grow width 50px
|
||||||
|
|
||||||
|
# Return to default mode
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
bindsym $mod+z mode "resize"
|
||||||
|
|
||||||
|
# shut down, restart and locking
|
||||||
|
set $mode_system System (l) lock, (e) exit, (s) suspend, (r) reboot, (p) shutdown
|
||||||
|
mode "$mode_system" {
|
||||||
|
bindsym e exec --no-startup-id swaymsg exit, mode "default"
|
||||||
|
bindsym s exec --no-startup-id systemctl suspend, mode "default"
|
||||||
|
bindsym r exec --no-startup-id systemctl reboot, mode "default"
|
||||||
|
bindsym p exec --no-startup-id systemctl poweroff -i, mode "default"
|
||||||
|
bindsym l exec --no-startup-id swaylock -e -f -c 000000 -t, mode "default"
|
||||||
|
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
bindsym $mod+Shift+e mode "$mode_system"
|
||||||
|
|
||||||
|
# config tools
|
||||||
|
set $mode_config (b) bt, (c) cooling, (d) display, (g) gparted, (k) kvantum, (l) lxappearance, (m) manjaro, (p) packages, (q) qt5, (Q) qt6, (s) sound, (t) theme, (u) upgrade
|
||||||
|
mode "$mode_config" {
|
||||||
|
# bindsym b exec --no-startup-id blueman-manager, mode "default"
|
||||||
|
bindsym c exec --no-startup-id coolercontrol, mode "default"
|
||||||
|
bindsym d exec --no-startup-id wdisplays, mode "default"
|
||||||
|
bindsym g exec --no-startup-id gparted, mode "default"
|
||||||
|
bindsym k exec --no-startup-id kvantummanager, mode "default"
|
||||||
|
bindsym l exec --no-startup-id lxappearance, mode "default"
|
||||||
|
bindsym m exec --no-startup-id manjaro-settings-manager, mode "default"
|
||||||
|
bindsym p exec --no-startup-id pamac-manager, mode "default"
|
||||||
|
bindsym q exec --no-startup-id qt5ct, mode "default"
|
||||||
|
bindsym Shift+q exec --no-startup-id qt6ct, mode "default"
|
||||||
|
bindsym s exec --no-startup-id pavucontrol-qt, mode "default"
|
||||||
|
bindsym t exec --no-startup-id manjaro-sway-theme, mode "default"
|
||||||
|
bindsym u exec --no-startup-id $term_float topgrade --only config_update --only system, mode "default"
|
||||||
|
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
bindsym $mod+c mode "$mode_config"
|
||||||
|
|
||||||
|
# config tools
|
||||||
|
set $mode_monitor (b) btop, (h) htop, (s) isd, (j) journal, (n) nvtop
|
||||||
|
mode "$mode_monitor" {
|
||||||
|
bindsym b exec $term_float btop, mode "default"
|
||||||
|
bindsym h exec $term_float htop, mode "default"
|
||||||
|
bindsym s exec $term_float isd, mode "default"
|
||||||
|
bindsym j exec $term_float lazyjournal, mode "default"
|
||||||
|
bindsym n exec $term_float nvtop, mode "default"
|
||||||
|
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
bindsym $mod+m mode "$mode_monitor"
|
||||||
|
|
||||||
|
# WINDOWS
|
||||||
|
include /etc/sway/config.d/98-application-defaults.conf
|
||||||
|
for_window [all] title_format "%app_id - %title"
|
||||||
|
|
||||||
|
# set floating mode for generated windows
|
||||||
|
for_window [title="(?:Open|Save) (?:File|Folder|As)"] floating enable
|
||||||
|
for_window [title="(?:Open|Save) (?:File|Folder|As)"] resize set 800 600
|
||||||
|
for_window [title="Save File"] floating enable
|
||||||
|
for_window [window_role="pop-up"] floating enable
|
||||||
|
for_window [window_role="bubble"] floating enable
|
||||||
|
for_window [window_role="task_dialog"] floating enable
|
||||||
|
for_window [window_role="Preferences"] floating enable
|
||||||
|
for_window [window_type="dialog"] floating enable
|
||||||
|
for_window [window_type="menu"] floating enable
|
||||||
|
|
||||||
|
# remove title
|
||||||
|
for_window [app_id="foot"] border pixel 2
|
||||||
|
for_window [app_id="wezterm"] border pixel 2
|
||||||
|
for_window [class="discord"] border pixel 2
|
||||||
|
for_window [app_id="thunderbird"] border pixel 2
|
||||||
|
for_window [app_id="qutebrowser"] border pixel 2
|
||||||
|
|
||||||
|
# Open specific applications in floating mode
|
||||||
|
for_window [app_id="GParted"] floating enable
|
||||||
|
for_window [app_id="qalculate-qt"] floating enable
|
||||||
|
for_window [class="pavucontrol-qt"] floating enable
|
||||||
|
|
||||||
|
# https://github.com/ValveSoftware/steam-for-linux/issues/1040
|
||||||
|
for_window [app_id="^steam$"] floating enable
|
||||||
|
for_window [app_id="^Steam$"] floating enable
|
||||||
|
for_window [app_id="^steam$" title="^Steam$"] floating disable
|
||||||
|
|
||||||
|
# set floating mode for specific applications
|
||||||
|
for_window [app_id="thunderbird"] border pixel 2
|
||||||
|
for_window [app_id="thunderbird" title=".*Reminder"] floating enable
|
||||||
|
for_window [app_id="floating_shell"] floating enable, border pixel 1
|
||||||
|
|
||||||
|
# Don't allow applications to inhibit shortcuts, i.e. grab total control of the
|
||||||
|
# keyboard. Chrome currently abuses this by enabling it for all "--app=..." shortcuts.
|
||||||
|
seat * shortcuts_inhibitor disable
|
||||||
|
|
||||||
|
# IO
|
||||||
|
output * bg /usr/share/backgrounds/wallpapers-juhraya/Austria_by_Rutger_Heijmerikx.jpg fill
|
||||||
|
input type:keyboard {
|
||||||
|
xkb_layout "us"
|
||||||
|
xkb_variant "altgr-weur"
|
||||||
|
xkb_options "caps:escape"
|
||||||
|
repeat_delay 400
|
||||||
|
repeat_rate 50
|
||||||
|
}
|
||||||
|
input type:mouse {
|
||||||
|
accel_profile "flat"
|
||||||
|
pointer_accel 0.5
|
||||||
|
}
|
||||||
+1
-1
@@ -44,7 +44,7 @@ expanded_icon=' '
|
|||||||
# Setting the options in tmux
|
# Setting the options in tmux
|
||||||
set -g status-position "bottom"
|
set -g status-position "bottom"
|
||||||
set -g status-style bg=default,fg=default
|
set -g status-style bg=default,fg=default
|
||||||
set -g status-justify "left"
|
set -g status-justify "centre"
|
||||||
set -g status-left "${default_color}#{?client_prefix,,${indicator}}#[bg=${bg_highlight},fg=${fg_active_window},bold]#{?client_prefix,${indicator},}${default_color}"
|
set -g status-left "${default_color}#{?client_prefix,,${indicator}}#[bg=${bg_highlight},fg=${fg_active_window},bold]#{?client_prefix,${indicator},}${default_color}"
|
||||||
set -g status-right "session #S - %H:%M %d/%m/%y"
|
set -g status-right "session #S - %H:%M %d/%m/%y"
|
||||||
set -g window-status-format " ${window_status_format}#{?window_zoomed_flag, ,}"
|
set -g window-status-format " ${window_status_format}#{?window_zoomed_flag, ,}"
|
||||||
|
|||||||
@@ -0,0 +1,109 @@
|
|||||||
|
{
|
||||||
|
// Basic config
|
||||||
|
"layer": "bottom",
|
||||||
|
"position": "bottom",
|
||||||
|
"margin-top": 0,
|
||||||
|
"margin-bottom": 0,
|
||||||
|
"margin-right": 100,
|
||||||
|
"margin-left": 100,
|
||||||
|
|
||||||
|
"modules-center": ["sway/mode", "sway/workspaces"],
|
||||||
|
"sway/workspaces": {
|
||||||
|
"disable-scroll": true,
|
||||||
|
"all-outputs": false,
|
||||||
|
"format": "{icon}",
|
||||||
|
},
|
||||||
|
"sway/mode": {
|
||||||
|
"format": "<span style=\"italic\">{}</span>",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
|
||||||
|
"modules-left": ["systemd-failed-units", "memory", "load", "temperature", "custom/nvidia", "disk#disk1", "disk#disk2", "network"],
|
||||||
|
"load": {
|
||||||
|
"interval": 1,
|
||||||
|
"format": " {load1}%",
|
||||||
|
"states": {
|
||||||
|
"warning": 70,
|
||||||
|
"critical": 90
|
||||||
|
},
|
||||||
|
"tooltip": true,
|
||||||
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 120x45 btop'"
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"interval": 1,
|
||||||
|
"format": " {used:0.1f}G",
|
||||||
|
"states": {
|
||||||
|
"warning": 70,
|
||||||
|
"critical": 90
|
||||||
|
},
|
||||||
|
"tooltip": true,
|
||||||
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 120x45 btop'"
|
||||||
|
},
|
||||||
|
"systemd-failed-units": {
|
||||||
|
"hide-on-ok": false, // Do not hide if there is zero failed units.
|
||||||
|
"format": "Systemd ✗ {nr_failed}",
|
||||||
|
"format-ok": "Systemd ✓",
|
||||||
|
"system": true, // Monitor failed systemwide units.
|
||||||
|
"user": true, // Ignore failed user units.
|
||||||
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 120x45 isd'"
|
||||||
|
},
|
||||||
|
"include": "~/.config/waybar/local_config.jsonc",
|
||||||
|
|
||||||
|
"modules-right": ["tray", "pulseaudio", "custom/scratchpad", "custom/theme", "clock"],
|
||||||
|
"pulseaudio": {
|
||||||
|
"scroll-step": 5,
|
||||||
|
"format": "{icon} {volume}%{format_source}",
|
||||||
|
"format-muted": " {format_source}",
|
||||||
|
"format-source": " ",
|
||||||
|
"format-source-muted": " ",
|
||||||
|
"format-icons": {
|
||||||
|
"headphone": "",
|
||||||
|
"headset": "",
|
||||||
|
"default": [ "", "", "" ]
|
||||||
|
},
|
||||||
|
"tooltip-format": "{icon} {volume}% {format_source}",
|
||||||
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 120x12 pulsemixer'",
|
||||||
|
"on-click-middle": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
||||||
|
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +5%",
|
||||||
|
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -5%"
|
||||||
|
},
|
||||||
|
"custom/scratchpad": {
|
||||||
|
"interval": 5,
|
||||||
|
"return-type": "json",
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"one": "",
|
||||||
|
"many": ""
|
||||||
|
},
|
||||||
|
"exec": "/bin/sh /usr/share/sway/scripts/scratchpad.sh",
|
||||||
|
"on-click": "swaymsg 'scratchpad show'",
|
||||||
|
"signal": 7
|
||||||
|
},
|
||||||
|
"custom/theme": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"interval": 300,
|
||||||
|
"tooltip": true,
|
||||||
|
"format-icons": {
|
||||||
|
"light": "",
|
||||||
|
"dark": "",
|
||||||
|
"auto_light": "",
|
||||||
|
"auto_dark": ""
|
||||||
|
},
|
||||||
|
"return-type": "json",
|
||||||
|
"exec-if": "/usr/share/sway/scripts/theme-toggle.sh check",
|
||||||
|
"exec": "/usr/share/sway/scripts/theme-toggle.sh status",
|
||||||
|
"on-click": "/usr/share/sway/scripts/theme-toggle.sh toggle",
|
||||||
|
"on-click-right": "/usr/share/sway/scripts/theme-toggle.sh auto-toggle",
|
||||||
|
"signal": 17
|
||||||
|
},
|
||||||
|
"tray": {
|
||||||
|
"icon-size": 21,
|
||||||
|
"spacing": 10
|
||||||
|
},
|
||||||
|
"clock": {
|
||||||
|
"interval": 1,
|
||||||
|
"tooltip-format": "<tt>{calendar}</tt>",
|
||||||
|
"format": " {:%Y-%m-%d %H:%M:%S}",
|
||||||
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 120x45 calcurse'"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
* {
|
||||||
|
border: 0;
|
||||||
|
font-family: Cozette;
|
||||||
|
font-size: 14px;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background: transparent;
|
||||||
|
color: #eceff4;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar:first-child > box {
|
||||||
|
margin-top: 11px;
|
||||||
|
padding: 8px 4px 4px 4px;
|
||||||
|
border-radius: 20px 20px 0px 0px;
|
||||||
|
background-color: #2e3440;
|
||||||
|
border: 2px solid #88c0d0;
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
padding: 0 5px;
|
||||||
|
background: transparent;
|
||||||
|
color: #4c566a;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
box-shadow: inherit;
|
||||||
|
text-shadow: inherit;
|
||||||
|
color: #d8dee9;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.focused {
|
||||||
|
color: #88c0d0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock,
|
||||||
|
#custom-scratchpad,
|
||||||
|
#custom-nvidia,
|
||||||
|
#custom-theme,
|
||||||
|
#disk.disk1,
|
||||||
|
#disk.disk2,
|
||||||
|
#load,
|
||||||
|
#memory,
|
||||||
|
#network,
|
||||||
|
#pulseaudio,
|
||||||
|
#sway-mode,
|
||||||
|
#systemd-failed-units,
|
||||||
|
#temperature,
|
||||||
|
#tray {
|
||||||
|
color: #88c0d0;
|
||||||
|
padding-right: 16px;
|
||||||
|
padding-left: 16px;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user