Compare commits
8 Commits
5518bacd20
...
8538483f1e
Author | SHA1 | Date |
---|---|---|
Inhji | 8538483f1e | |
Inhji | 3071ea8b16 | |
Inhji | 72b3335145 | |
Inhji | 42a74f8ad3 | |
Inhji | 1169762ad0 | |
Inhji | 8db7d784f4 | |
Inhji | 2cc4c63118 | |
Inhji | f8e376b547 |
|
@ -10,21 +10,21 @@ shell=/usr/bin/fish
|
|||
# but tweaked background and regular0
|
||||
|
||||
[colors]
|
||||
background=10022e
|
||||
foreground=e5e5e6
|
||||
regular0=392B57
|
||||
regular1=cd0d76
|
||||
regular2=09EAA5
|
||||
regular3=FFFA69
|
||||
regular4=05BEFF
|
||||
regular5=FF00E0
|
||||
regular6=9AA5ED
|
||||
regular7=FFFFFF
|
||||
bright0=A8FCFF
|
||||
bright1=FF0EA5
|
||||
background=1e1e2e
|
||||
foreground=cdd6f4
|
||||
regular0=11111b # black
|
||||
regular1=f38ba8 # red
|
||||
regular2=a6e3a1 # green
|
||||
regular3=fab387 # yellow
|
||||
regular4=05BEFF # blue
|
||||
regular5=cba6f7 # magenta
|
||||
regular6=94e2d5 # cyan
|
||||
regular7=9399b2 # white
|
||||
bright0=181825
|
||||
bright1=eba0ac
|
||||
bright2=00FFB7
|
||||
bright3=FEF787
|
||||
bright4=18CCFC
|
||||
bright5=FF00F8
|
||||
bright6=A6B5FF
|
||||
bright7=FFFFFF
|
||||
bright3=f9e2af
|
||||
bright4=74c7ec
|
||||
bright5=f5c2e7
|
||||
bright6=89dceb
|
||||
bright7=a6adc8
|
||||
|
|
|
@ -3,3 +3,6 @@ theme = "catppuccin_mocha"
|
|||
# this should be enabled once soft wrap is merged
|
||||
[editor]
|
||||
soft-wrap.enable = true
|
||||
|
||||
[keys.normal]
|
||||
C-s = ":w"
|
||||
|
|
|
@ -38,7 +38,7 @@ color:
|
|||
# When "classic" is set, this is set to "date".
|
||||
# Possible values: date, relative, '+<date_format>'
|
||||
# `date_format` will be a `strftime` formatted value. e.g. `date: '+%d %b %y %X'` will give you a date like this: 17 Jun 21 20:14:55
|
||||
date: date
|
||||
date: relative
|
||||
|
||||
# == Dereference ==
|
||||
# Whether to dereference symbolic links.
|
||||
|
@ -91,12 +91,12 @@ recursion:
|
|||
# == Size ==
|
||||
# Specifies the format of the size column.
|
||||
# Possible values: default, short, bytes
|
||||
size: default
|
||||
size: short
|
||||
|
||||
# == Permission ==
|
||||
# Specify the format of the permission column
|
||||
# Possible value: rwx, octal
|
||||
permission: rwx
|
||||
permission: octal
|
||||
|
||||
# == Sorting ==
|
||||
sorting:
|
||||
|
@ -109,7 +109,7 @@ sorting:
|
|||
# Whether to group directories together and where.
|
||||
# When "classic" is set, this is set to "none".
|
||||
# Possible values: first, last, none
|
||||
dir-grouping: none
|
||||
dir-grouping: first
|
||||
|
||||
# == No Symlink ==
|
||||
# Whether to omit showing symlink targets
|
||||
|
|
|
@ -1,22 +1,23 @@
|
|||
# Default config for sway
|
||||
#
|
||||
# Copy this to ~/.config/sway/config and edit it to your liking.
|
||||
#
|
||||
# Read `man 5 sway` for a complete reference.
|
||||
|
||||
### Variables
|
||||
#
|
||||
|
||||
# Logo key. Use Mod1 for Alt.
|
||||
set $mod Mod4
|
||||
|
||||
# Home row direction keys, like vim
|
||||
set $left left
|
||||
set $down down
|
||||
set $up up
|
||||
set $right right
|
||||
|
||||
# Your preferred terminal emulator
|
||||
#set $term xfce4-terminal
|
||||
set $term foot
|
||||
set $files thunar
|
||||
|
||||
# Monitor names
|
||||
set $MON0 "eDP-1"
|
||||
set $MON1 "HDMI-A-1"
|
||||
|
||||
# Your preferred application launcher
|
||||
# Note: it's recommended that you pass the final command to sway
|
||||
#set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||
|
@ -29,7 +30,8 @@ set $menu wofi --show drun -p Search -n -i -I -W 66% -s $HOME/.config/wofi.css
|
|||
# Default wallpaper (more resolutions are available in @datadir@/backgrounds/sway/)
|
||||
#output * bg "#000000" fill
|
||||
#exec swaybg -c "#282828"
|
||||
exec swaybg -i "/usr/share/backgrounds/reform-mountains.jpg"
|
||||
#exec swaybg -i "/usr/share/backgrounds/reform-mountains.jpg"
|
||||
exec waypaper --restore
|
||||
|
||||
#
|
||||
# Example configuration:
|
||||
|
@ -105,6 +107,10 @@ hide_edge_borders both
|
|||
# Reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
|
||||
# Switch monitors
|
||||
bindsym $mod+m output $MON0 disable ; output $MON1 enable
|
||||
bindsym $mod+Shift+m output $MON1 disable ; output $MON0 enable
|
||||
|
||||
# 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'
|
||||
#
|
||||
|
@ -137,6 +143,11 @@ hide_edge_borders both
|
|||
bindsym $mod+F3 exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
bindsym $mod+F4 exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
bindsym $mod+F5 exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
|
||||
# Hyper + F7, F8, F9
|
||||
bindsym XF86AudioNext exec cmus-remote -n
|
||||
bindsym XF86AudioPlay exec cmus-remote -u
|
||||
bindsym XF86AudioPrev exec cmus-remote -r
|
||||
#
|
||||
# Workspaces:
|
||||
#
|
||||
|
@ -267,6 +278,7 @@ for_window [app_id="pavucontrol"] floating enable
|
|||
for_window [app_id="gnome-control-center"] floating enable
|
||||
for_window [app_id="blueman-manager"] floating enable
|
||||
for_window [instance="Msgcompose"] floating enable
|
||||
for_window [app_id="waypaper"] floating enable
|
||||
|
||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway
|
||||
|
|
|
@ -2,68 +2,56 @@
|
|||
"ipc": true,
|
||||
// "layer": "top", // Waybar at top layer
|
||||
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
||||
"height": 34, // Waybar height (to be removed for auto height)
|
||||
// "width": 1280, // Waybar width
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
|
||||
"height": 32, // Waybar height (to be removed for auto height)
|
||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||
"modules-center": ["custom/cmus"],
|
||||
"modules-right": ["tray", "network", "custom/stat", "memory", "temperature", "pulseaudio", "battery", "clock"],
|
||||
"modules-right": ["tray", "custom/stat", "battery", "clock"],
|
||||
"custom/run": {
|
||||
"format": "Run",
|
||||
"on-click": "wofi --show drun -p Search -n -i -I -W 66% -H 66% -s $HOME/.config/wofi.css"
|
||||
},
|
||||
"sway/window": {
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "<span>{}</span>"
|
||||
},
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"icon-theme": "Papirus",
|
||||
"icon-size": 22,
|
||||
"on-click": "minimize-raise",
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 28,
|
||||
"spacing": 8
|
||||
"icon-theme": "Papirus",
|
||||
"icon-size": 22,
|
||||
"spacing": 16
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%H:%M}",
|
||||
"tooltip-format": "{:%Y %B}",
|
||||
"format-alt": "{:%A, %d.%m.%Y}",
|
||||
"format-alt": "{:%Y-%m-%d}",
|
||||
"tooltip": false
|
||||
},
|
||||
"cpu": {
|
||||
"format": "CPU {usage}%",
|
||||
"tooltip": false
|
||||
},
|
||||
"memory": {
|
||||
"format": "MEM {}%",
|
||||
"tooltip": false
|
||||
},
|
||||
"temperature": {
|
||||
"thermal-zone": 0,
|
||||
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||
"critical-threshold": 80,
|
||||
// "format-critical": "{temperatureC}°C {icon}",
|
||||
"format": "{temperatureC}°C"
|
||||
},
|
||||
"battery": {
|
||||
//"bat": "8xlifepo4",
|
||||
"interval": 30,
|
||||
"format": " {}%",
|
||||
"format-charging": " {}%",
|
||||
"format-full": " {}%"
|
||||
},
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": "直 {essid} {signalStrength}%",
|
||||
//"format-ethernet": " {ifname}: {ipaddr}/{cidr}",
|
||||
"format-ethernet": " {ifname}",
|
||||
"format-linked": " {ifname} NO IP",
|
||||
"format-disconnected": " ×",
|
||||
"format": " ×",
|
||||
"on-click": "xfce4-terminal -e nmtui --title nmtui"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1,
|
||||
"format": "VOL {volume}%",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": "MUTED {format_source}",
|
||||
"format-source": "{volume}%",
|
||||
"format-source-muted": "MUTE",
|
||||
"on-click": "reform-pavucontrol"
|
||||
"format": "Vol {volume}%",
|
||||
"format-bluetooth": " {volume}%",
|
||||
"format-bluetooth-muted": " Silent",
|
||||
"format-muted": "Silent",
|
||||
"format-source": "Vol {volume}%",
|
||||
"format-source-muted": "Silent",
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"battery": {
|
||||
"format": " {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-full": " }capacity}%"
|
||||
},
|
||||
"custom/cmus": {
|
||||
"format": " {}",
|
||||
"max-length": 30,
|
||||
"interval": 1,
|
||||
"exec": "cmus-remote -Q | grep 'tag title' | sed 's/tag title //g'"
|
||||
},
|
||||
"custom/stat": {
|
||||
"format": "{}",
|
||||
|
@ -72,10 +60,4 @@
|
|||
"exec": "reform-compstat -d 1 -i 0.3",
|
||||
"on-click": "gnome-system-monitor"
|
||||
},
|
||||
"custom/cmus": {
|
||||
"format": " {}",
|
||||
"max-length": 30,
|
||||
"interval": 1,
|
||||
"exec": "cmus-remote -Q | grep 'tag title' | sed 's/tag title //g'"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,81 @@
|
|||
{
|
||||
"ipc": true,
|
||||
// "layer": "top", // Waybar at top layer
|
||||
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
||||
"height": 34, // Waybar height (to be removed for auto height)
|
||||
// "width": 1280, // Waybar width
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
|
||||
"modules-center": ["custom/cmus"],
|
||||
"modules-right": ["tray", "network", "custom/stat", "memory", "temperature", "pulseaudio", "battery", "clock"],
|
||||
"sway/window": {
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "<span>{}</span>"
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 28,
|
||||
"spacing": 8
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%H:%M}",
|
||||
"tooltip-format": "{:%Y %B}",
|
||||
"format-alt": "{:%A, %d.%m.%Y}",
|
||||
"tooltip": false
|
||||
},
|
||||
"cpu": {
|
||||
"format": "CPU {usage}%",
|
||||
"tooltip": false
|
||||
},
|
||||
"memory": {
|
||||
"format": "MEM {}%",
|
||||
"tooltip": false
|
||||
},
|
||||
"temperature": {
|
||||
"thermal-zone": 0,
|
||||
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||
"critical-threshold": 80,
|
||||
// "format-critical": "{temperatureC}°C {icon}",
|
||||
"format": "{temperatureC}°C"
|
||||
},
|
||||
"battery": {
|
||||
//"bat": "8xlifepo4",
|
||||
"interval": 30,
|
||||
"format": " {}%",
|
||||
"format-charging": " {}%",
|
||||
"format-full": " {}%"
|
||||
},
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": "直 {essid} {signalStrength}%",
|
||||
//"format-ethernet": " {ifname}: {ipaddr}/{cidr}",
|
||||
"format-ethernet": " {ifname}",
|
||||
"format-linked": " {ifname} NO IP",
|
||||
"format-disconnected": " ×",
|
||||
"format": " ×",
|
||||
"on-click": "xfce4-terminal -e nmtui --title nmtui"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1,
|
||||
"format": "VOL {volume}%",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": "MUTED {format_source}",
|
||||
"format-source": "{volume}%",
|
||||
"format-source-muted": "MUTE",
|
||||
"on-click": "reform-pavucontrol"
|
||||
},
|
||||
"custom/stat": {
|
||||
"format": "{}",
|
||||
"max-length": 20,
|
||||
"interval": 0,
|
||||
"exec": "reform-compstat -d 1 -i 0.3",
|
||||
"on-click": "gnome-system-monitor"
|
||||
},
|
||||
"custom/cmus": {
|
||||
"format": " {}",
|
||||
"max-length": 30,
|
||||
"interval": 1,
|
||||
"exec": "cmus-remote -Q | grep 'tag title' | sed 's/tag title //g'"
|
||||
}
|
||||
}
|
|
@ -19,6 +19,10 @@
|
|||
create: true
|
||||
glob: true
|
||||
path: config/cmus/**
|
||||
~/.config/waybar:
|
||||
create: true
|
||||
glob: true
|
||||
path: config/waybar/**
|
||||
~/.config/sway:
|
||||
glob: true
|
||||
create: true
|
||||
|
|
Loading…
Reference in New Issue