trimmed out hyprland config
This commit is contained in:
parent
5417b30ef0
commit
f59a5a8d9a
8 changed files with 4 additions and 56 deletions
|
|
@ -1,128 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
variables,
|
||||
xkb,
|
||||
}:
|
||||
with variables.base32Theme;
|
||||
''
|
||||
########################################
|
||||
##### devices
|
||||
########################################
|
||||
input type:touchpad {
|
||||
tap enabled
|
||||
natural_scroll enabled
|
||||
tap_button_map lrm
|
||||
middle_emulation enabled
|
||||
drag enabled
|
||||
}
|
||||
|
||||
output eDP-1 {
|
||||
pos 0 0
|
||||
}
|
||||
|
||||
output DP-1 {
|
||||
pos 0 1080
|
||||
}
|
||||
|
||||
input 1:1:AT_Translated_Set_2_keyboard {
|
||||
xkb_layout ${xkb.layout},us
|
||||
xkb_variant ${xkb.variant},
|
||||
}
|
||||
|
||||
''
|
||||
+ ''
|
||||
########################################
|
||||
##### colors & theme
|
||||
########################################
|
||||
# <colorclass> <border> <background> <text> <indicator> <child_border>
|
||||
client.background #${base00-hex}
|
||||
client.focused #${variables.accent-hex} #${base00-hex} #${base05-hex} #${variables.accent-hex} #${variables.accent-hex}
|
||||
client.focused_inactive #${base00-hex} #${base00-hex} #${base04-hex} #${base00-hex} #${base00-hex}
|
||||
client.placeholder #${base00-hex} #${base00-hex} #${base04-hex} #${base00-hex} #${base00-hex}
|
||||
client.unfocused #${base00-hex} #${base00-hex} #${base04-hex} #${base00-hex} #${base00-hex}
|
||||
client.urgent #${base0F-hex} #${base00-hex} #${base05-hex} #${base0F-hex} #${base0F-hex}
|
||||
|
||||
# font
|
||||
font pango:sans-serif ${toString variables.font.sans-serif.size}
|
||||
|
||||
# gaps
|
||||
gaps outer 0
|
||||
gaps inner ${toString variables.gaps}
|
||||
|
||||
# border
|
||||
default_border pixel ${toString variables.border-width}
|
||||
for_window [class=".+"] border pixel ${toString variables.border-width}
|
||||
hide_edge_borders none
|
||||
corner_radius ${toString variables.border-radius}
|
||||
''
|
||||
|
||||
+ ''
|
||||
########################################
|
||||
##### window rules
|
||||
########################################
|
||||
# inhibit idle when fullscreen
|
||||
for_window [app_id=".*"] inhibit_idle fullscreen
|
||||
for_window [class=".*"] inhibit_idle fullscreen
|
||||
# various floaters
|
||||
for_window [window_role="Preferences"] floating enable
|
||||
for_window [window_role="bubble"] floating enable
|
||||
for_window [window_role="pop-up"] floating enable
|
||||
for_window [window_role="task_dialog"] floating enable
|
||||
for_window [window_type="dialog"] floating enable
|
||||
for_window [window_type="menu"] floating enable
|
||||
# apps
|
||||
for_window [app_id="flameshot"] border pixel 0, floating enable, fullscreen disable, move absolute position 0 0
|
||||
for_window [app_id="org.keepassxc.KeePassXC"] floating enable, sticky enable
|
||||
''
|
||||
+ ''
|
||||
########################################
|
||||
##### Bar config
|
||||
########################################
|
||||
bar {
|
||||
status_command ${pkgs.i3status-rust}/bin/i3status-rs /etc/xdg/sway/i3status-rust.toml
|
||||
colors {
|
||||
background #00000000
|
||||
focused_workspace #00000000 #${variables.accent-hex} #${base05-hex}
|
||||
active_workspace #00000000 #${variables.accent-bg-hex} #${base05-hex}
|
||||
inactive_workspace #00000000 #00000000 #${base05-hex}
|
||||
urgent_workspace #00000000 #${base0F-hex} #${base05-hex}
|
||||
}
|
||||
bindsym button2 exec ${pkgs.rofi}/bin/rofi -show drun
|
||||
bindsym button5 exec ${pkgs.writeShellScript "nextworkspace" ''
|
||||
swaymsg workspace "$(
|
||||
swaymsg -t get_workspaces | jq ".[] | select(.focused == true) | (.num + 1)"
|
||||
)"
|
||||
''}
|
||||
}
|
||||
''
|
||||
+ ''
|
||||
########################################
|
||||
##### autostart
|
||||
########################################
|
||||
exec --no-startup-id ${pkgs.wpaperd}/bin/wpaperd
|
||||
exec --no-startup-id ${pkgs.keepassxc}/bin/keepassxc
|
||||
|
||||
# start sway target (!!)
|
||||
exec_always --no-startup-id ${pkgs.writeShellScript "systemd-sway" ''
|
||||
${pkgs.dbus}/bin/dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY I3SOCK SWAYSOCK XDG_CURRENT_DESKTOP PATH
|
||||
${pkgs.systemd}/bin/systemctl --user import-environment DISPLAY WAYLAND_DISPLAY I3SOCK SWAYSOCK XDG_CURRENT_DESKTOP PATH
|
||||
${pkgs.systemd}/bin/systemctl --user start sway.target
|
||||
''}
|
||||
exec_always --no-startup-id ${
|
||||
pkgs.writeShellScript "configure-gtk" (
|
||||
with variables;
|
||||
''
|
||||
export XDG_DATA_DIRS=${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}:$XDG_DATA_DIRS
|
||||
gsettings set org.gnome.desktop.interface color-scheme "prefer-${theme-type}"
|
||||
gsettings set org.gnome.desktop.interface cursor-size ${toString theme-cursor-size}
|
||||
gsettings set org.gnome.desktop.interface cursor-theme "${theme-cursor}"
|
||||
gsettings set org.gnome.desktop.interface font-name "sans-serif ${toString font.sans-serif.size}"
|
||||
gsettings set org.gnome.desktop.interface gtk-theme "${theme-gtk}"
|
||||
gsettings set org.gnome.desktop.interface icon-theme "${theme-icon}"
|
||||
gsettings set org.gnome.desktop.interface monospace-font-name "monospace ${toString font.monospace.size}"
|
||||
gsettings set org.gnome.desktop.wm.preferences button-layout "icon:"
|
||||
''
|
||||
)
|
||||
}
|
||||
|
||||
''
|
||||
|
|
@ -1,345 +0,0 @@
|
|||
{ lib, pkgs, config, options, ... }:
|
||||
|
||||
with lib;
|
||||
with pkgs;
|
||||
let
|
||||
rofi-menu = pkgs.writeShellScript "rofi-menu.sh" ''
|
||||
monitor="$(swaymsg -t get_outputs | jq '.[] | select(.focused) | .name' -r)"
|
||||
${pkgs.g-rofi}/bin/rofi -show drun -modi drun -monitor "$monitor" $@
|
||||
'';
|
||||
left = "h";
|
||||
down = "j";
|
||||
up = "k";
|
||||
right = "l";
|
||||
bg-color = "#424242";
|
||||
inactive-bg-color = "#424242";
|
||||
text-color = "#4f97d7";
|
||||
inactive-text-color = "#676E7D";
|
||||
urgent-bg-color = "#E53935";
|
||||
|
||||
colorSchemeDark = rec {
|
||||
primary = {
|
||||
normal = {
|
||||
background = "181818";
|
||||
foreground = "b9b9b9";
|
||||
};
|
||||
bright = {
|
||||
background = bright.black;
|
||||
foreground = bright.white;
|
||||
};
|
||||
};
|
||||
normal = {
|
||||
black = "252525";
|
||||
gray = "5b5b5b";
|
||||
red = "ed4a46";
|
||||
green = "70b433";
|
||||
yellow = "dbb32d";
|
||||
blue = "368aeb";
|
||||
magenta = "eb6eb7";
|
||||
cyan = "3fc5b7";
|
||||
white = "777777";
|
||||
};
|
||||
bright = {
|
||||
black = "3b3b3b";
|
||||
gray = "7b7b7b";
|
||||
red = "ff5e56";
|
||||
green = "83c746";
|
||||
yellow = "efc541";
|
||||
blue = "4f9cfe";
|
||||
magenta = "ff81ca";
|
||||
cyan = "56d8c9";
|
||||
white = "dedede";
|
||||
};
|
||||
};
|
||||
|
||||
colorScheme = colorSchemeDark;
|
||||
font = "Roboto";
|
||||
|
||||
bgColor = colorScheme.primary.normal.background;
|
||||
fgColor = colorScheme.primary.bright.foreground;
|
||||
acColor = colorScheme.normal.red;
|
||||
acColor2 = colorScheme.normal.yellow;
|
||||
|
||||
monospaced = text: ''<span font_family="RobotoMono">'' + text + "</span>";
|
||||
in
|
||||
{
|
||||
imports = [ ./git.nix ./common.nix ./dunst.nix ];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
wl-clipboard
|
||||
wlr-randr
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
MOZ_USE_XINPUT2 = "1";
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
XDG_CURRENT_DESKTOP = "sway";
|
||||
XKB_DEFAULT_OPTIONS = "terminate:ctrl_alt_bksp,caps:escape,altwin:swap_alt_win";
|
||||
SDL_VIDEODRIVER = "wayland";
|
||||
|
||||
# needs qt5.qtwayland in systemPackages
|
||||
QT_QPA_PLATFORM = "wayland";
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||
|
||||
# Fix for some Java AWT applications (e.g. Android Studio),
|
||||
# use this if they aren't displayed properly:
|
||||
_JAVA_AWT_WM_NONREPARENTING = 1;
|
||||
|
||||
# gtk applications on wayland
|
||||
# export GDK_BACKEND=wayland
|
||||
};
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
|
||||
extraSessionCommands = ''
|
||||
unset __NIXOS_SET_ENVIRONMENT_DONE
|
||||
'';
|
||||
|
||||
extraConfig = ''
|
||||
|
||||
input "type:keyboard" {
|
||||
xkb_layout us,de
|
||||
xkb_options terminate:ctrl_alt_bksp,caps:escape,altwin:swap_alt_win
|
||||
}
|
||||
|
||||
#output HDMI-A-1 {
|
||||
# mode 1920x1080@74.973Hz
|
||||
# pos 0 0
|
||||
# scale 0.75
|
||||
# scale_filter nearest
|
||||
# adaptive_sync on
|
||||
#}
|
||||
|
||||
#output HDMI-A-1 disable
|
||||
set $soundbar 'Harris Corporation JBL Bar 2.x 0x01010101'
|
||||
output $soundbar resolution 640x480@60Hz pos -10000 0
|
||||
workspace "99999" output $soundbar
|
||||
for_window [workspace="^99999$"] move container to output $monitor_center; focus output $monitor_center
|
||||
|
||||
output DP-2 {
|
||||
mode 3840x1600@143.998001Hz
|
||||
#pos 2560 0
|
||||
}
|
||||
|
||||
input * {
|
||||
repeat_delay 250
|
||||
repeat_rate 35
|
||||
}
|
||||
exec wl-paste -t text --watch ${pkgs.clipman} store
|
||||
'';
|
||||
|
||||
enable = true;
|
||||
config = {
|
||||
#input = {
|
||||
#"*" = {
|
||||
#"repeat_delay" = "230";
|
||||
#"repeat_rate" = "23";
|
||||
#};
|
||||
#};
|
||||
modifier = "Mod4";
|
||||
floating.modifier = "Mod4";
|
||||
floating.border = 0;
|
||||
window.border = 0;
|
||||
focus.forceWrapping = false;
|
||||
focus.followMouse = false;
|
||||
fonts = {
|
||||
names = [ "RobotoMono" ];
|
||||
size = 9.0;
|
||||
};
|
||||
terminal = "${pkgs.g-alacritty}/bin/alacritty";
|
||||
startup = [
|
||||
#{ command = "waybar"; always = true; notification = false; }
|
||||
];
|
||||
|
||||
colors.focused = {
|
||||
border = bg-color;
|
||||
childBorder = bg-color;
|
||||
background = bg-color;
|
||||
text = text-color;
|
||||
indicator = "#00ff00";
|
||||
};
|
||||
colors.unfocused = {
|
||||
border = inactive-bg-color;
|
||||
childBorder = inactive-bg-color;
|
||||
background = inactive-bg-color;
|
||||
text = inactive-text-color;
|
||||
indicator = "#00ff00";
|
||||
};
|
||||
colors.focusedInactive = {
|
||||
border = inactive-bg-color;
|
||||
childBorder = inactive-bg-color;
|
||||
background = inactive-bg-color;
|
||||
text = inactive-text-color;
|
||||
indicator = "#00ff00";
|
||||
};
|
||||
colors.urgent = {
|
||||
border = urgent-bg-color;
|
||||
childBorder = urgent-bg-color;
|
||||
background = urgent-bg-color;
|
||||
text = text-color;
|
||||
indicator = "#00ff00";
|
||||
};
|
||||
|
||||
menu = "${rofi-menu}";
|
||||
modes.resize = {
|
||||
Escape = "mode default";
|
||||
Return = "mode default";
|
||||
"${down}" = "resize grow height 10 px or 10 ppt";
|
||||
"${left}" = "resize shrink width 10 px or 10 ppt";
|
||||
"${right}" = "resize grow width 10 px or 10 ppt";
|
||||
"${up}" = "resize shrink height 10 px or 10 ppt";
|
||||
};
|
||||
|
||||
# bars = mkForce [ ];
|
||||
bars = [{
|
||||
"command" = "${waybar}/bin/waybar";
|
||||
}];
|
||||
keybindings = mkOptionDefault (import ./keybindings.nix { inherit pkgs; });
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
programs.waybar =
|
||||
let
|
||||
swayEnabled = config.wayland.windowManager.sway.enable;
|
||||
in
|
||||
{
|
||||
enable = config.wayland.windowManager.sway.enable || config.wayland.windowManager.hikari.enable;
|
||||
settings = [{
|
||||
layer = "top";
|
||||
position = "top";
|
||||
modules-left = if swayEnabled then [ "sway/workspaces" ] else [ ];
|
||||
modules-center = if swayEnabled then [ "sway/window" ] else [ ];
|
||||
modules-right =
|
||||
[ "pulseaudio" "cpu" "memory" "temperature" "clock" "tray" ];
|
||||
clock.format = "{:%Y-%m-%d %H:%M}";
|
||||
"tray" = { spacing = 8; };
|
||||
"cpu" = { format = "cpu {usage}"; };
|
||||
"memory" = { format = "mem {}"; };
|
||||
"temperature" = {
|
||||
hwmon-path = "/sys/class/hwmon/hwmon1/temp2_input";
|
||||
format = "tmp {temperatureC}C";
|
||||
};
|
||||
"pulseaudio" = {
|
||||
format = "vol {volume} {format_source}";
|
||||
format-bluetooth = "volb {volume} {format_source}";
|
||||
format-bluetooth-muted = "volb {format_source}";
|
||||
format-muted = "vol {format_source}";
|
||||
format-source = "mic {volume}";
|
||||
format-source-muted = "mic";
|
||||
};
|
||||
}];
|
||||
style =
|
||||
let
|
||||
makeBorder = color: "border-bottom: 3px solid #${color};";
|
||||
makeInfo = color: ''
|
||||
color: #${color};
|
||||
${makeBorder color}
|
||||
'';
|
||||
|
||||
clockColor = colorScheme.bright.magenta;
|
||||
cpuColor = colorScheme.bright.green;
|
||||
memColor = colorScheme.bright.blue;
|
||||
pulseColor = {
|
||||
normal = colorScheme.bright.cyan;
|
||||
muted = colorScheme.bright.gray;
|
||||
};
|
||||
tmpColor = {
|
||||
normal = colorScheme.bright.yellow;
|
||||
critical = colorScheme.bright.red;
|
||||
};
|
||||
in
|
||||
''
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family: ${font};
|
||||
font-size: 13px;
|
||||
min-height: 0;
|
||||
}
|
||||
window#waybar {
|
||||
background-color: #${bgColor};
|
||||
/* border-bottom: 0px solid rgba(100, 114, 125, 0.5); */
|
||||
color: #${fgColor};
|
||||
transition-property: background-color;
|
||||
transition-duration: .5s;
|
||||
}
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
background-color: transparent;
|
||||
color: #${fgColor};
|
||||
border-bottom: 3px solid transparent;
|
||||
}
|
||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||
#workspaces button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
box-shadow: inherit;
|
||||
border-bottom: 3px solid #ffffff;
|
||||
}
|
||||
#workspaces button.focused {
|
||||
border-bottom: 3px solid #${acColor};
|
||||
}
|
||||
#workspaces button.urgent {
|
||||
background-color: #${acColor};
|
||||
color: #${bgColor};
|
||||
}
|
||||
#mode {
|
||||
background-color: #64727D;
|
||||
border-bottom: 3px solid #ffffff;
|
||||
}
|
||||
#clock,
|
||||
#battery,
|
||||
#cpu,
|
||||
#memory,
|
||||
#temperature,
|
||||
#backlight,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#custom-media,
|
||||
#tray,
|
||||
#mode,
|
||||
#idle_inhibitor,
|
||||
#mpd {
|
||||
padding: 0 10px;
|
||||
margin: 0 4px;
|
||||
background-color: transparent;
|
||||
${makeInfo fgColor}
|
||||
}
|
||||
label:focus {
|
||||
color: #000000;
|
||||
}
|
||||
#clock {
|
||||
${makeInfo clockColor}
|
||||
}
|
||||
#cpu {
|
||||
${makeInfo cpuColor}
|
||||
}
|
||||
#memory {
|
||||
${makeInfo memColor}
|
||||
}
|
||||
#pulseaudio {
|
||||
${makeInfo pulseColor.normal}
|
||||
}
|
||||
#pulseaudio.muted {
|
||||
${makeInfo pulseColor.muted}
|
||||
}
|
||||
#temperature {
|
||||
${makeInfo tmpColor.normal}
|
||||
}
|
||||
#temperature.critical {
|
||||
${makeInfo tmpColor.critical}
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
xdg.configFile."xdg-desktop-portal-wlr/config".text = ''
|
||||
[screencast]
|
||||
output_name=
|
||||
max_fps=30
|
||||
chooser_cmd=${pkgs.slurp}/bin/slurp -f %o -or
|
||||
chooser_type=simple
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
{ self, inputs, outputs, lib, config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
./sway.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
@ -1,187 +0,0 @@
|
|||
{ self, inputs, outputs, lib, config, pkgs, ... }:
|
||||
with lib;
|
||||
with pkgs;
|
||||
let
|
||||
|
||||
left = "h";
|
||||
down = "j";
|
||||
up = "k";
|
||||
right = "l";
|
||||
bg-color = "#424242";
|
||||
inactive-bg-color = "#424242";
|
||||
text-color = "#4f97d7";
|
||||
inactive-text-color = "#676E7D";
|
||||
urgent-bg-color = "#E53935";
|
||||
|
||||
colorSchemeDark = rec {
|
||||
primary = {
|
||||
normal = {
|
||||
background = "181818";
|
||||
foreground = "b9b9b9";
|
||||
};
|
||||
bright = {
|
||||
background = bright.black;
|
||||
foreground = bright.white;
|
||||
};
|
||||
};
|
||||
normal = {
|
||||
black = "252525";
|
||||
gray = "5b5b5b";
|
||||
red = "ed4a46";
|
||||
green = "70b433";
|
||||
yellow = "dbb32d";
|
||||
blue = "368aeb";
|
||||
magenta = "eb6eb7";
|
||||
cyan = "3fc5b7";
|
||||
white = "777777";
|
||||
};
|
||||
bright = {
|
||||
black = "3b3b3b";
|
||||
gray = "7b7b7b";
|
||||
red = "ff5e56";
|
||||
green = "83c746";
|
||||
yellow = "efc541";
|
||||
blue = "4f9cfe";
|
||||
magenta = "ff81ca";
|
||||
cyan = "56d8c9";
|
||||
white = "dedede";
|
||||
};
|
||||
};
|
||||
|
||||
colorScheme = colorSchemeDark;
|
||||
font = "Roboto";
|
||||
|
||||
bgColor = colorScheme.primary.normal.background;
|
||||
fgColor = colorScheme.primary.bright.foreground;
|
||||
acColor = colorScheme.normal.red;
|
||||
acColor2 = colorScheme.normal.yellow;
|
||||
|
||||
in {
|
||||
imports = [
|
||||
#./sway-style.nix
|
||||
];
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
extraSessionCommands = "";
|
||||
extraConfig = "";
|
||||
xwayland = true;
|
||||
checkConfig = false;
|
||||
package = pkgs.swayfx;
|
||||
wrapperFeatures = {
|
||||
base = true;
|
||||
gtk = true;
|
||||
};
|
||||
systemd = {
|
||||
enable = true;
|
||||
#xdgAutostart = true;
|
||||
#extraCommands = [
|
||||
#];
|
||||
#variables = [
|
||||
#];
|
||||
};
|
||||
|
||||
config = rec {
|
||||
|
||||
output = {
|
||||
eDP-1 = {
|
||||
## Set HIDP scale (pixel integer scaling)
|
||||
scale = "1";
|
||||
};
|
||||
};
|
||||
|
||||
## Use Wofi as menu
|
||||
menu = "wofi --show run";
|
||||
## Use kitty as default terminal
|
||||
terminal = "kitty";
|
||||
## Startup scripts and programs
|
||||
startup = [ { command = "startup"; } { command = "kitty"; } ];
|
||||
|
||||
## Use waybar as desktop statusbar
|
||||
bars = [{
|
||||
command = "${waybar}/bin/waybar";
|
||||
position = "top";
|
||||
fonts = { size = 15.0; };
|
||||
}];
|
||||
|
||||
focus = {
|
||||
followMouse = true;
|
||||
mouseWarping = false;
|
||||
newWindow = "smart";
|
||||
};
|
||||
|
||||
keybindings = { };
|
||||
|
||||
modes = {
|
||||
resize = {
|
||||
Escape = "mode default";
|
||||
Return = "mode default";
|
||||
"${down}" = "resize grow height 10 px or 10 ppt";
|
||||
"${left}" = "resize shrink width 10 px or 10 ppt";
|
||||
"${right}" = "resize grow width 10 px or 10 ppt";
|
||||
"${up}" = "resize shrink height 10 px or 10 ppt";
|
||||
};
|
||||
};
|
||||
|
||||
modifier = "Mod4";
|
||||
|
||||
window = { border = 0; };
|
||||
|
||||
floating = {
|
||||
modifier = "Mod4";
|
||||
border = 0;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
names = [ "Spleen-32x64" ];
|
||||
size = 9.0;
|
||||
};
|
||||
|
||||
colors = {
|
||||
focused = {
|
||||
border = bg-color;
|
||||
childBorder = bg-color;
|
||||
background = bg-color;
|
||||
text = text-color;
|
||||
indicator = "#00ff00";
|
||||
};
|
||||
unfocused = {
|
||||
border = inactive-bg-color;
|
||||
childBorder = inactive-bg-color;
|
||||
background = inactive-bg-color;
|
||||
text = inactive-text-color;
|
||||
indicator = "#00ff00";
|
||||
};
|
||||
focusedInactive = {
|
||||
border = inactive-bg-color;
|
||||
childBorder = inactive-bg-color;
|
||||
background = inactive-bg-color;
|
||||
text = inactive-text-color;
|
||||
indicator = "#00ff00";
|
||||
};
|
||||
urgent = {
|
||||
border = urgent-bg-color;
|
||||
childBorder = urgent-bg-color;
|
||||
background = urgent-bg-color;
|
||||
text = text-color;
|
||||
indicator = "#00ff00";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
home = {
|
||||
packages = with pkgs; [ ];
|
||||
|
||||
sessionVariables = {
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
XDG_CURRENT_DESKTOP = "sway";
|
||||
SDL_VIDEODRIVER = "wayland";
|
||||
# needs qt5.qtwayland in systemPackages
|
||||
QT_QPA_PLATFORM = "wayland";
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue