mirror of
https://git.sr.ht/~coasteen/dotfiles
synced 2025-11-04 14:47:38 +01:00
275 lines
9.1 KiB
Nix
275 lines
9.1 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
home-manager.users.coast = {
|
|
home.username = "coast";
|
|
home.homeDirectory = "/home/coast";
|
|
home.stateVersion = "25.05";
|
|
|
|
programs.vesktop.enable = true;
|
|
|
|
home.file.".config/qutebrowser/config.py".text = ''
|
|
config.load_autoconfig()
|
|
c.content.blocking.enabled = True
|
|
config.set("content.geolocation", False)
|
|
c.url.searchengines = {
|
|
'DEFAULT': 'https://www.google.com/search?q={}',
|
|
'ddg': 'https://duckduckgo.com/?q={}',
|
|
'wiki': 'https://en.wikipedia.org/w/index.php?search={}',
|
|
'gh': 'https://github.com/search?q={}',
|
|
}
|
|
c.url.start_pages = ['https://www.google.com']
|
|
'';
|
|
|
|
home.packages = with pkgs; [
|
|
zsh-autosuggestions
|
|
blueman
|
|
brave
|
|
neofetch
|
|
hyfetch
|
|
nix-search-cli
|
|
appimage-run
|
|
krita
|
|
python3
|
|
hyprshot
|
|
starship
|
|
dysk
|
|
ranger
|
|
mako
|
|
libnotify
|
|
kitty
|
|
mpv
|
|
qbittorrent
|
|
gcc
|
|
ruby
|
|
pciutils
|
|
lm_sensors
|
|
htop
|
|
tealdeer
|
|
];
|
|
|
|
home.file.".config/kitty/kitty.conf".text = ''
|
|
font_family family="Ubuntu Mono"
|
|
font_size 20
|
|
bold_font auto
|
|
italic_font auto
|
|
bold_italic_font auto
|
|
background_opacity 0.9
|
|
window_padding_width 8
|
|
confirm_os_window_close 0
|
|
|
|
background #1d1d1d
|
|
foreground #deddda
|
|
|
|
selection_background #303030
|
|
selection_foreground #c0bfbc
|
|
|
|
url_color #1a5fb4
|
|
|
|
wayland_titlebar_color system
|
|
macos_titlebar_color system
|
|
|
|
cursor #deddda
|
|
cursor_text_color #1d1d1d
|
|
|
|
active_border_color #4f4f4f
|
|
inactive_border_color #282828
|
|
bell_border_color #ed333b
|
|
visual_bell_color none
|
|
|
|
active_tab_background #242424
|
|
active_tab_foreground #fcfcfc
|
|
inactive_tab_background #303030
|
|
inactive_tab_foreground #b0afac
|
|
tab_bar_background none
|
|
tab_bar_margin_color none
|
|
|
|
color0 #1d1d1d
|
|
color1 #ed333b
|
|
color2 #57e389
|
|
color3 #ff7800
|
|
color4 #62a0ea
|
|
color5 #9141ac
|
|
color6 #5bc8af
|
|
color7 #deddda
|
|
|
|
color8 #9a9996
|
|
color9 #f66151
|
|
color10 #8ff0a4
|
|
color11 #ffa348
|
|
color12 #99c1f1
|
|
color13 #dc8add
|
|
color14 #93ddc2
|
|
color15 #f6f5f4
|
|
'';
|
|
|
|
home.file.".config/sway/config".text = ''
|
|
input "1267:12448:ELAN0709:00_04F3:30A0_Touchpad" {
|
|
dwt enabled
|
|
tap enabled
|
|
middle_emulation enabled
|
|
}
|
|
|
|
seat * xcursor_theme ModernXP 32
|
|
|
|
gaps inner 5
|
|
gaps outer 2
|
|
|
|
set $mod Mod4
|
|
set $left h
|
|
set $down j
|
|
set $up k
|
|
set $right l
|
|
set $term kitty
|
|
set $filemgr kitty -e ranger
|
|
set $menu wmenu-run -f "UbuntuMono 15" -N "#1c1c1c" -n "#B0B0B0" -S "#2d2d2d" -s "#ffffff" -l 10
|
|
set $browser brave
|
|
|
|
output eDP-1 disable
|
|
output HDMI-A-1 pos 1920 0
|
|
|
|
output * bg /home/coast/Pictures/nature3.png stretch
|
|
output HDMI-A-1 resolution 1920x1080 position 1920,0
|
|
|
|
exec swayidle -w \
|
|
timeout 300 'swaylock -f -c 000000' \
|
|
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
|
before-sleep 'swaylock -f -c 000000'
|
|
|
|
input * {
|
|
xkb_options caps:escape
|
|
}
|
|
|
|
default_border pixel 4
|
|
default_floating_border pixel 4
|
|
|
|
for_window [class=".*"] border pixel 4
|
|
|
|
client.focused #666666 #000000 #ffffff #666666 #666666
|
|
client.unfocused #444444 #000000 #ffffff #444444 #444444
|
|
client.focused_inactive #444444 #000000 #ffffff #444444 #444444
|
|
client.urgent #ff0000 #000000 #ffffff #ff0000 #ff0000
|
|
|
|
|
|
bindsym $mod+Return exec $term
|
|
|
|
bindsym $mod+s kill
|
|
|
|
bindsym $mod+r exec $menu
|
|
|
|
bindsym $mod+Shift+b exec $browser
|
|
|
|
floating_modifier $mod normal
|
|
|
|
bindsym $mod+Shift+c reload
|
|
|
|
bindsym $mod+Shift+q exec 'swaymsg exit'
|
|
|
|
bindsym $mod+Shift+f exec $filemgr
|
|
bindsym $mod+$left focus left
|
|
bindsym $mod+$down focus down
|
|
bindsym $mod+$up focus up
|
|
bindsym $mod+$right focus right
|
|
bindsym $mod+Left focus left
|
|
bindsym $mod+Down focus down
|
|
bindsym $mod+Up focus up
|
|
bindsym $mod+Right focus right
|
|
|
|
bindsym $mod+Shift+$left move left
|
|
bindsym $mod+Shift+$down move down
|
|
bindsym $mod+Shift+$up move up
|
|
bindsym $mod+Shift+$right move right
|
|
bindsym $mod+Shift+Left move left
|
|
bindsym $mod+Shift+Down move down
|
|
bindsym $mod+Shift+Up move up
|
|
bindsym $mod+Shift+Right move right
|
|
|
|
bindsym $mod+1 workspace number 1
|
|
bindsym $mod+2 workspace number 2
|
|
bindsym $mod+3 workspace number 3
|
|
bindsym $mod+4 workspace number 4
|
|
bindsym $mod+5 workspace number 5
|
|
bindsym $mod+6 workspace number 6
|
|
bindsym $mod+7 workspace number 7
|
|
bindsym $mod+8 workspace number 8
|
|
bindsym $mod+9 workspace number 9
|
|
|
|
bindsym $mod+Shift+1 move container to workspace number 1
|
|
bindsym $mod+Shift+2 move container to workspace number 2
|
|
bindsym $mod+Shift+3 move container to workspace number 3
|
|
bindsym $mod+Shift+4 move container to workspace number 4
|
|
bindsym $mod+Shift+5 move container to workspace number 5
|
|
bindsym $mod+Shift+6 move container to workspace number 6
|
|
bindsym $mod+Shift+7 move container to workspace number 7
|
|
bindsym $mod+Shift+8 move container to workspace number 8
|
|
bindsym $mod+Shift+9 move container to workspace number 9
|
|
|
|
bindsym $mod+b splith
|
|
bindsym $mod+v splitv
|
|
|
|
bindsym $mod+Shift+s layout stacking
|
|
bindsym $mod+Shift+w layout tabbed
|
|
bindsym $mod+Shift+e layout toggle split
|
|
|
|
bindsym $mod+f fullscreen
|
|
|
|
bindsym Print exec 'hyprshot -m region -o /home/coast/Pictures/Screenshots/'
|
|
|
|
bindsym $mod+space floating toggle
|
|
|
|
bindsym $mod+Shift+space focus mode_toggle
|
|
|
|
bindsym $mod+a focus parent
|
|
|
|
bindsym $mod+Shift+u exec 'pkill waybar; waybar &'
|
|
|
|
bindsym $mod+Shift+minus move scratchpad
|
|
|
|
bindsym $mod+minus scratchpad show
|
|
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 Right resize shrink width 10px
|
|
bindsym Up resize grow height 10px
|
|
bindsym Down resize shrink height 10px
|
|
bindsym Left resize grow width 10px
|
|
|
|
bindsym Return mode "default"
|
|
bindsym Escape mode "default"
|
|
}
|
|
bindsym $mod+Shift+d mode "resize"
|
|
|
|
bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
|
|
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%
|
|
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
|
|
bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
|
|
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
|
|
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
|
|
|
|
bar {
|
|
position top
|
|
font pango:Ubuntu 12
|
|
|
|
status_command while date +'%I:%M %p'; do sleep 1; done
|
|
status_command while $HOME/.local/bin/sway-status; do sleep 1; done
|
|
|
|
tray_output primary
|
|
|
|
colors {
|
|
statusline #ffffff
|
|
background #1c1c1c
|
|
inactive_workspace #1c1c1c #1c1c1c #aaaaaa
|
|
focused_workspace #2d2d2d #262626 #ffffff
|
|
urgent_workspace #aa0000 #ff0000 #ffffff
|
|
}
|
|
}
|
|
|
|
include /etc/sway/config.d/*
|
|
for_window [app_id="foot"] opacity 0.9
|
|
'';
|
|
};
|
|
}
|
|
|