A lot
This commit is contained in:
@@ -1,40 +1,3 @@
|
||||
set $mod Mod4
|
||||
|
||||
set $left h
|
||||
set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
|
||||
# Terminal
|
||||
set $term alacritty
|
||||
|
||||
# Application Launcher
|
||||
set $menu killall wofi || wofi
|
||||
|
||||
# Start wofi
|
||||
bindsym $mod+d exec $menu
|
||||
|
||||
# Screenshot (Grimshot)
|
||||
bindsym $mod+g exec grimshot save active
|
||||
bindsym $mod+Shift+g exec grimshot save area
|
||||
bindsym $mod+Mod1+g exec grimshot save output
|
||||
bindsym $mod+Ctrl+g exec grimshot save window
|
||||
|
||||
set $opacity 0.98
|
||||
for_window [class=".*"] opacity $opacity
|
||||
for_window [app_id=".*"] opacity $opacity
|
||||
|
||||
# Window Borders
|
||||
default_border none
|
||||
|
||||
# Gaps
|
||||
smart_gaps on
|
||||
gaps inner 10
|
||||
gaps outer 10
|
||||
|
||||
# Hide mouse cursor after inactivity
|
||||
seat * hide_cursor 4000
|
||||
|
||||
# Notifications
|
||||
exec_always --no-startup-id dunst
|
||||
|
||||
@@ -64,6 +27,36 @@ exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||
# Wlsunset (Night Light)
|
||||
exec_always wlsunset -lsd 47.6, -122.3 -t 3200 -T 6500
|
||||
|
||||
# Directional Keys
|
||||
set $left h
|
||||
set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
|
||||
# Mod Key
|
||||
set $mod Mod4
|
||||
|
||||
# Terminal
|
||||
set $term alacritty
|
||||
|
||||
# Application Launcher
|
||||
set $menu killall wofi || wofi
|
||||
|
||||
set $opacity 0.98
|
||||
for_window [class=".*"] opacity $opacity
|
||||
for_window [app_id=".*"] opacity $opacity
|
||||
|
||||
# Window Borders
|
||||
default_border none
|
||||
default_floating_border none
|
||||
|
||||
# Gaps
|
||||
smart_gaps on
|
||||
gaps inner 10
|
||||
gaps outer 10
|
||||
|
||||
for_window [app_id="galendae"] floating enable, sticky enable, move position cursor, move down 35
|
||||
|
||||
# Idle configuration
|
||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||
# your displays after another 300 seconds, and turn your screens back on when
|
||||
@@ -75,11 +68,6 @@ exec swayidle -w \
|
||||
timeout \
|
||||
before-sleep 'swaylock -f'
|
||||
|
||||
# Exit sway (logs you out of your Wayland session)
|
||||
bindsym $mod+Shift+e exec swaynag -t custom -m 'Do you wish to fully reload your Sway session?' -b 'Yes' 'swaymsg exit'
|
||||
# Turn the system off
|
||||
bindsym $mod+Shift+p exec swaynag -t custom -m 'What action would you like to perform?' -b 'Shutdown' 'poweroff' -b 'Restart' 'poweroff --reboot' -b 'Suspend' 'systemctl suspend'
|
||||
|
||||
### Input configuration
|
||||
#
|
||||
# Example configuration:
|
||||
@@ -102,14 +90,15 @@ input type:keyboard {
|
||||
repeat_rate 45
|
||||
}
|
||||
|
||||
# Hide mouse cursor after inactivity
|
||||
seat * hide_cursor 4000
|
||||
|
||||
set $laptop eDP-1
|
||||
bindswitch --reload --locked lid:on output $laptop disable
|
||||
bindswitch --reload --locked lid:off output $laptop enable
|
||||
|
||||
# Monitors
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
# output eDP-1 pos 0 0 res 1920x1200
|
||||
# output DP-5 pos 3440 0 res 3440x1440
|
||||
output eDP-1 pos 0 0 res 1920x1200
|
||||
output DP-5 pos 1920 0 res 3440x1440
|
||||
|
||||
@@ -126,9 +115,6 @@ 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
|
||||
|
||||
# Switch to workspace
|
||||
bindsym $mod+1 workspace $ws1
|
||||
@@ -137,9 +123,6 @@ bindsym $mod+3 workspace $ws3
|
||||
bindsym $mod+4 workspace $ws4
|
||||
bindsym $mod+5 workspace $ws5
|
||||
bindsym $mod+6 workspace $ws6
|
||||
bindsym $mod+7 workspace $ws7
|
||||
bindsym $mod+8 workspace $ws8
|
||||
bindsym $mod+9 workspace $ws9
|
||||
|
||||
# Move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||
@@ -148,9 +131,6 @@ bindsym $mod+Shift+3 move container to workspace $ws3
|
||||
bindsym $mod+Shift+4 move container to workspace $ws4
|
||||
bindsym $mod+Shift+5 move container to workspace $ws5
|
||||
bindsym $mod+Shift+6 move container to workspace $ws6
|
||||
bindsym $mod+Shift+7 move container to workspace $ws7
|
||||
bindsym $mod+Shift+8 move container to workspace $ws8
|
||||
bindsym $mod+Shift+9 move container to workspace $ws9
|
||||
|
||||
# Start a terminal
|
||||
bindsym $mod+Return exec $term
|
||||
@@ -272,16 +252,4 @@ bindsym $mod+r mode "resize"
|
||||
# Status Bar:
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
# position top
|
||||
# gaps 5
|
||||
|
||||
# # When the status_command prints a new line to stdout, swaybar updates.
|
||||
# # The default just shows the current date and time.
|
||||
# status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done
|
||||
|
||||
# colors {
|
||||
# statusline #ffffff
|
||||
# background #323232
|
||||
# inactive_workspace #32323200 #32323200 #5c5c5c
|
||||
# }
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[custom]
|
||||
font=Iosevka 10
|
||||
font=Iosevka 13
|
||||
dismiss-button=Dismiss
|
||||
background=0f0f0f
|
||||
border=262626
|
||||
|
||||
@@ -1,27 +1,33 @@
|
||||
{
|
||||
"layer": "top", // Waybar at top layer
|
||||
"position": "top", // Waybar at the bottom of your screen
|
||||
"height": 35, // Waybar height
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 35,
|
||||
"modules-left": ["sway/workspaces"],
|
||||
"modules-center": ["clock", "backlight"],
|
||||
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "battery", "tray"],
|
||||
"sway/workspaces": {
|
||||
// "persistent_workspaces": {
|
||||
// "<span font=\"FontAwesome 5 Free\"></span>": ["HDMI-A-1"],
|
||||
// "<span font=\"FontAwesome 5 Free\"></span>": ["HDMI-A-1"],
|
||||
// "<span font=\"FontAwesome 5 Free\"></span>": ["HDMI-A-1"],
|
||||
// "<span font=\"FontAwesome 5 Free\"></span>": ["HDMI-A-1"],
|
||||
// "<span font=\"FontAwesome 5 Free\"></span>": ["HDMI-A-1"],
|
||||
// "<span font=\"FontAwesome 5 Free\"></span>": ["HDMI-A-1"],
|
||||
// },
|
||||
"disable-scroll": true,
|
||||
"all-outputs": false,
|
||||
"all-outputs": true,
|
||||
"format": "<span size='large'>{icon}</span>",
|
||||
"format-icons": {
|
||||
"1": "web",
|
||||
"2": "mu",
|
||||
"3": "chat",
|
||||
"4": "dev0",
|
||||
"5": "dev1",
|
||||
"6": "term0",
|
||||
"7": "term1",
|
||||
"8": "misc0",
|
||||
"9": "misc1",
|
||||
"urgent": "",
|
||||
"active": "",
|
||||
"default": ""
|
||||
"1": "<span font=\"FontAwesome 5 Free\"></span>",
|
||||
"2": "<span font=\"FontAwesome 5 Free\"></span>",
|
||||
"3": "<span font=\"FontAwesome 5 Free\"></span>",
|
||||
"4": "<span font=\"FontAwesome 5 Free\"></span>",
|
||||
"5": "<span font=\"FontAwesome 5 Free\"></span>",
|
||||
"6": "<span font=\"FontAwesome 5 Free\"></span>",
|
||||
"urgent": "<span font=\"FontAwesome 5 Free\"></span>",
|
||||
"focused": " <span font=\"FontAwesome 5 Free\"></span>",
|
||||
"default": "<span font=\"FontAwesome 5 Free\"></span>",
|
||||
"active": "<span font=\"FontAwesome 5 Free\"></span>",
|
||||
},
|
||||
},
|
||||
|
||||
@@ -36,6 +42,8 @@
|
||||
|
||||
"clock": {
|
||||
"format": "{: %I:%M %A %B %d}",
|
||||
"tooltip": false,
|
||||
"on-click": "galendae -c $HOME/.config/galendae-cal/galendae.conf"
|
||||
},
|
||||
|
||||
"battery": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
\* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: "Iosevka", Regular;
|
||||
font-family: Iosevka, FontAwesome;
|
||||
font-size: 15px;
|
||||
min-height: 0;
|
||||
}
|
||||
@@ -21,7 +21,13 @@ window#waybar {
|
||||
#workspaces button.focused {
|
||||
color: white;
|
||||
margin: 5px 10px 0 10px;
|
||||
}
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: white;
|
||||
margin: 5px 10px 0 10px;
|
||||
}
|
||||
|
||||
#workspaces button.urgent{
|
||||
margin: 5px 10px 0 10px;
|
||||
padding: 0px 8px 0px 8px;
|
||||
|
||||
Reference in New Issue
Block a user