reice a lot
This commit is contained in:
parent
beb7d2def1
commit
4146b5aece
3 changed files with 31 additions and 16 deletions
|
@ -7,7 +7,7 @@ set $right l
|
||||||
set $term alacritty
|
set $term alacritty
|
||||||
set $wallpaper /home/stefan/Downloads/bg.jpg
|
set $wallpaper /home/stefan/Downloads/bg.jpg
|
||||||
set $lock swaylock -t -i $wallpaper --scaling=fill
|
set $lock swaylock -t -i $wallpaper --scaling=fill
|
||||||
set $font pango:CaskaydiaCove Nerd Font Mono 10
|
set $font CaskaydiaCove Nerd Font 10
|
||||||
set $menucolor --ff=#f8f8f2 --nf=#f8f8f2 --tf=#bd93f9 --hf=#bd93f9 --tb=#282a36 --fb=#282a36 --nb=#282a36 --hb=#282a36 --sb=#282a36
|
set $menucolor --ff=#f8f8f2 --nf=#f8f8f2 --tf=#bd93f9 --hf=#bd93f9 --tb=#282a36 --fb=#282a36 --nb=#282a36 --hb=#282a36 --sb=#282a36
|
||||||
set $menu bemenu-run -H 23 -b -p run $menucolor
|
set $menu bemenu-run -H 23 -b -p run $menucolor
|
||||||
|
|
||||||
|
@ -116,6 +116,7 @@ mode "resize" {
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
bar {
|
bar {
|
||||||
|
font $font
|
||||||
position bottom
|
position bottom
|
||||||
colors {
|
colors {
|
||||||
background $black
|
background $black
|
||||||
|
@ -133,8 +134,8 @@ bar {
|
||||||
|
|
||||||
set $gnome-schema org.gnome.desktop.interface
|
set $gnome-schema org.gnome.desktop.interface
|
||||||
exec_always {
|
exec_always {
|
||||||
gsettings set $gnome-schema gtk-theme 'Arc-Dark'
|
gsettings set $gnome-schema gtk-theme 'Dracula'
|
||||||
gsettings set $gnome-schema icon-theme 'elementary Xfce'
|
gsettings set $gnome-schema icon-theme 'Dracula'
|
||||||
gsettings set $gnome-schema cursor-theme 'Capitaine Cursors - White'
|
gsettings set $gnome-schema cursor-theme 'Capitaine Cursors - White'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -146,6 +147,7 @@ exec mako --font "$font" \
|
||||||
exec emacs --daemon
|
exec emacs --daemon
|
||||||
exec swayidle before-sleep "$lock"
|
exec swayidle before-sleep "$lock"
|
||||||
exec /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1
|
exec /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1
|
||||||
|
exec redshift -l 49.8988135:10.9027636
|
||||||
|
|
||||||
# pastebin
|
# pastebin
|
||||||
exec wl-paste --primary -t text --watch clipman store
|
exec wl-paste --primary -t text --watch clipman store
|
||||||
|
|
|
@ -23,22 +23,25 @@ backlight_full = ""
|
||||||
backlight_partial1 = ""
|
backlight_partial1 = ""
|
||||||
backlight_partial2 = ""
|
backlight_partial2 = ""
|
||||||
backlight_partial3 = ""
|
backlight_partial3 = ""
|
||||||
bat = ""
|
bat = ""
|
||||||
bat_charging = " "
|
bat_charging = ""
|
||||||
bat_discharging = ""
|
bat_discharging = ""
|
||||||
bat_empty = ""
|
bat_empty = ""
|
||||||
bat_full = ""
|
bat_quarter = ""
|
||||||
cogs = ""
|
bat_half = ""
|
||||||
disk_space = ""
|
bat_three_quarters = ""
|
||||||
|
bat_full = ""
|
||||||
|
cogs = "龍"
|
||||||
|
disk_drive = ""
|
||||||
headphones = " "
|
headphones = " "
|
||||||
memory_mem = ""
|
memory_mem = ""
|
||||||
net_down = "DOWN"
|
net_down = "DOWN"
|
||||||
net_up = "UP"
|
net_up = "UP"
|
||||||
net_vpn = " "
|
net_vpn = " "
|
||||||
net_wired = ""
|
net_wired = ""
|
||||||
net_wireless = " "
|
net_wireless = " "
|
||||||
thermometer = " "
|
thermometer = " "
|
||||||
time = ""
|
time = ""
|
||||||
volume_empty = ""
|
volume_empty = ""
|
||||||
volume_full = ""
|
volume_full = ""
|
||||||
volume_half = ""
|
volume_half = ""
|
||||||
|
@ -64,9 +67,9 @@ command = '''echo " $(cat /sys/class/thermal/thermal_zone0/temp | head -c 2)
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "disk_space"
|
block = "disk_space"
|
||||||
path = "/"
|
path = "/"
|
||||||
alias = " /"
|
|
||||||
info_type = "available"
|
info_type = "available"
|
||||||
unit = "GB"
|
unit = "GB"
|
||||||
|
format = "{icon} {available}"
|
||||||
interval = 20
|
interval = 20
|
||||||
warning = 20.0
|
warning = 20.0
|
||||||
alert = 10.0
|
alert = 10.0
|
||||||
|
@ -95,6 +98,7 @@ block = "battery"
|
||||||
device = "BAT0"
|
device = "BAT0"
|
||||||
interval = 10
|
interval = 10
|
||||||
format = "{percentage} ({time})"
|
format = "{percentage} ({time})"
|
||||||
|
full_format = "{percentage} ({time}) "
|
||||||
icons_format = " {icon} "
|
icons_format = " {icon} "
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
|
@ -102,6 +106,7 @@ block = "battery"
|
||||||
device = "BAT1"
|
device = "BAT1"
|
||||||
interval = 10
|
interval = 10
|
||||||
format = "{percentage} ({time})"
|
format = "{percentage} ({time})"
|
||||||
|
full_format = "{percentage} ({time}) "
|
||||||
icons_format = " {icon} "
|
icons_format = " {icon} "
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
colors = config.colors;
|
colors = config.colors;
|
||||||
|
schema = pkgs.gsettings-desktop-schemas;
|
||||||
|
datadir = "${schema}/share/gsettings-schemas/${schema.name}";
|
||||||
unstable = import <nixos-unstable> { config.allowUnfree = true; };
|
unstable = import <nixos-unstable> { config.allowUnfree = true; };
|
||||||
in {
|
in {
|
||||||
|
|
||||||
|
@ -17,12 +19,15 @@ in {
|
||||||
i3status-rust
|
i3status-rust
|
||||||
kanshi
|
kanshi
|
||||||
mako
|
mako
|
||||||
|
redshift-wlr
|
||||||
slurp
|
slurp
|
||||||
swayidle
|
swayidle
|
||||||
swaylock
|
swaylock
|
||||||
xwayland
|
|
||||||
wf-recorder
|
wf-recorder
|
||||||
|
xwayland
|
||||||
];
|
];
|
||||||
|
extraSessionCommands = ''
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
|
@ -151,7 +156,9 @@ key_bindings:
|
||||||
|
|
||||||
arc-theme
|
arc-theme
|
||||||
capitaine-cursors
|
capitaine-cursors
|
||||||
|
dracula-theme
|
||||||
elementary-xfce-icon-theme
|
elementary-xfce-icon-theme
|
||||||
|
glib
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
gtk-engine-murrine
|
gtk-engine-murrine
|
||||||
gtk_engines
|
gtk_engines
|
||||||
|
@ -195,8 +202,8 @@ key_bindings:
|
||||||
text = ''
|
text = ''
|
||||||
#! ${pkgs.bash}/bin/bash
|
#! ${pkgs.bash}/bin/bash
|
||||||
|
|
||||||
export GTK_ICON_THEME=Tango
|
export GTK_ICON_THEME=Dracula
|
||||||
export GTK_THEME=Blackbird
|
export GTK_THEME=Dracula
|
||||||
export _JAVA_AWT_WM_NOREPARENTING=1
|
export _JAVA_AWT_WM_NOREPARENTING=1
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
export MOZ_USE_XINPUT2=1
|
export MOZ_USE_XINPUT2=1
|
||||||
|
@ -205,6 +212,7 @@ key_bindings:
|
||||||
export QT_WAYLAND_FORCE_DPI=96
|
export QT_WAYLAND_FORCE_DPI=96
|
||||||
export SDL_VIDEODRIVER=wayland
|
export SDL_VIDEODRIVER=wayland
|
||||||
export XDG_CURRENT_DESKTOP=sway
|
export XDG_CURRENT_DESKTOP=sway
|
||||||
|
export XDG_DATA_DIRS=${datadir}:$XDG_DATA_DIRS
|
||||||
export XDG_SESSION_TYPE=wayland
|
export XDG_SESSION_TYPE=wayland
|
||||||
|
|
||||||
${pkgs.dbus}/bin/dbus-run-session ${pkgs.sway}/bin/sway
|
${pkgs.dbus}/bin/dbus-run-session ${pkgs.sway}/bin/sway
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue