Re-added Sway & stuff
This commit is contained in:
52
.config/dunst/dunstrc
Normal file
52
.config/dunst/dunstrc
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
[global]
|
||||||
|
monitor = 0
|
||||||
|
follow = keyboard
|
||||||
|
geometry = "250x50-24+24"
|
||||||
|
indicate_hidden = yes
|
||||||
|
shrink = no
|
||||||
|
separator_height = 0
|
||||||
|
padding = 16
|
||||||
|
horizontal_padding = 24
|
||||||
|
frame_width = 2
|
||||||
|
sort = no
|
||||||
|
idle_threshold = 120
|
||||||
|
font = Noto Sans 8
|
||||||
|
line_height = 4
|
||||||
|
markup = full
|
||||||
|
format = "<b>%s</b>\n%b"
|
||||||
|
alignment = left
|
||||||
|
show_age_threshold = 60
|
||||||
|
word_wrap = yes
|
||||||
|
ignore_newline = no
|
||||||
|
stack_duplicates = false
|
||||||
|
hide_duplicate_count = yes
|
||||||
|
show_indicators = no
|
||||||
|
icon_position = off
|
||||||
|
sticky_history = yes
|
||||||
|
history_length = 20
|
||||||
|
browser = /usr/bin/icecat -new-tab
|
||||||
|
always_run_script = true
|
||||||
|
title = Dunst
|
||||||
|
class = Dunst
|
||||||
|
|
||||||
|
[shortcuts]
|
||||||
|
close = ctrl+space
|
||||||
|
close_all = ctrl+shift+space
|
||||||
|
history = ctrl+grave
|
||||||
|
context = ctrl+shift+period
|
||||||
|
|
||||||
|
[urgency_low]
|
||||||
|
background = "#2f343f"
|
||||||
|
foreground = "#d8dee8"
|
||||||
|
timeout = 2
|
||||||
|
|
||||||
|
[urgency_normal]
|
||||||
|
background = "#2f343f"
|
||||||
|
foreground = "#d8dee8"
|
||||||
|
timeout = 4
|
||||||
|
|
||||||
|
[urgency_critical]
|
||||||
|
background = "#2f343f"
|
||||||
|
foreground = "#d8dee8"
|
||||||
|
frame_color = "#bf616a"
|
||||||
|
timeout = 0
|
||||||
49
.config/galendae-cal/galendae.conf
Normal file
49
.config/galendae-cal/galendae.conf
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
### WINDOW SETTINGS
|
||||||
|
|
||||||
|
# Stick window to all workspaces: 0=No, 1=Yes
|
||||||
|
stick=1
|
||||||
|
# Undecorated window: 0=No, 1=Yes
|
||||||
|
undecorated=1
|
||||||
|
# Close the window if it loses focus: 0=No, 1=Yes
|
||||||
|
close_on_unfocus=1
|
||||||
|
# Initial window position: 'center', 'mouse' or 'none'
|
||||||
|
position=mouse
|
||||||
|
# Move the window horizontally from its intial position
|
||||||
|
x_offset=1
|
||||||
|
# Move the window vertically from its initial position
|
||||||
|
y_offset=1
|
||||||
|
|
||||||
|
### COLORS
|
||||||
|
|
||||||
|
# Window background specified with CSS color
|
||||||
|
background_color=#000000
|
||||||
|
# Text color specified with CSS color
|
||||||
|
foreground_color=#dfdfdf
|
||||||
|
# Dates of previous and following months, colored with CSS
|
||||||
|
fringe_date_color=#404040
|
||||||
|
# Highlight color for the current date
|
||||||
|
highlight_color=#c61740
|
||||||
|
|
||||||
|
### FONTS
|
||||||
|
|
||||||
|
# Month font with CSS size and weight
|
||||||
|
month_font_size=xx-large
|
||||||
|
month_font_weight=normal
|
||||||
|
|
||||||
|
# Weekday column header font with CSS size and weight
|
||||||
|
day_font_size=75%
|
||||||
|
day_font_weight=normal
|
||||||
|
|
||||||
|
# Date number font with CSS size and weight
|
||||||
|
date_font_size=x-large
|
||||||
|
date_font_weight=bold
|
||||||
|
|
||||||
|
# Arrow font, ie '<' and '>' with CSS size and weight
|
||||||
|
arrow_font_size = xx-large
|
||||||
|
arrow_font_weight = bold
|
||||||
|
|
||||||
|
### CALENDAR SETTINGS
|
||||||
|
|
||||||
|
# Sunday=0, Monday=1, Tuesday=2, Wednesday=3
|
||||||
|
# Thursday=4, Friday=5, Saturday=6
|
||||||
|
week_start=1
|
||||||
6
.config/sway/clamshell.sh
Normal file
6
.config/sway/clamshell.sh
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
if grep -q open /proc/acpi/button/lid/LID/state; then
|
||||||
|
swaymsg output eDP-1 enable
|
||||||
|
else
|
||||||
|
swaymsg output eDP-1 disable
|
||||||
|
fi
|
||||||
273
.config/sway/config
Normal file
273
.config/sway/config
Normal file
@@ -0,0 +1,273 @@
|
|||||||
|
# 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
|
||||||
|
|
||||||
|
# Start a terminal
|
||||||
|
bindsym $mod+Return exec $term
|
||||||
|
|
||||||
|
# Start wofi
|
||||||
|
bindsym $mod+d exec $menu
|
||||||
|
|
||||||
|
# Kill focused window
|
||||||
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
# Lock SwayWM
|
||||||
|
bindsym Control+Shift+l exec swaylock
|
||||||
|
|
||||||
|
# Change normal to inverse to use left mouse button for resizing and right
|
||||||
|
# mouse button for dragging.
|
||||||
|
floating_modifier $mod normal
|
||||||
|
|
||||||
|
# Reload the configuration file
|
||||||
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
|
# Exit sway (logs you out of your Wayland session)
|
||||||
|
bindsym $mod+Shift+x exec swaymsg -r exit
|
||||||
|
|
||||||
|
## Volume
|
||||||
|
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
|
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
|
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
|
|
||||||
|
## Volume for non-media button keyboards
|
||||||
|
bindsym $mod+Shift+n exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
|
bindsym $mod+Shift+b exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
|
bindsym $mod+Shift+m exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
|
|
||||||
|
# Media playerctl
|
||||||
|
bindsym XF86AudioNext exec playerctl next
|
||||||
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
|
bindsym XF86AudioPlay exec playerctl play-pause
|
||||||
|
|
||||||
|
# Backlight
|
||||||
|
bindsym XF86MonBrightnessUp exec light -A 10 && notify-send " Light" "Brightness: $(light)%" --hint="int:value:$(light)"
|
||||||
|
bindsym XF86MonBrightnessDown exec light -U 10 && notify-send " Light" "Brightness: $(light)%" --hint="int:value:$(light)"
|
||||||
|
|
||||||
|
# Moving around:
|
||||||
|
# Move your focus around
|
||||||
|
bindsym $mod+$left focus left
|
||||||
|
bindsym $mod+$down focus down
|
||||||
|
bindsym $mod+$up focus up
|
||||||
|
bindsym $mod+$right focus right
|
||||||
|
|
||||||
|
# Or use $mod+[up|down|left|right]
|
||||||
|
bindsym $mod+Left focus left
|
||||||
|
bindsym $mod+Down focus down
|
||||||
|
bindsym $mod+Up focus up
|
||||||
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
|
# Move the focused window with the same, but add Shift
|
||||||
|
bindsym $mod+Shift+$left move left
|
||||||
|
bindsym $mod+Shift+$down move down
|
||||||
|
bindsym $mod+Shift+$up move up
|
||||||
|
bindsym $mod+Shift+$right move right
|
||||||
|
|
||||||
|
# Ditto, with arrow keys
|
||||||
|
bindsym $mod+Shift+Left move left
|
||||||
|
bindsym $mod+Shift+Down move down
|
||||||
|
bindsym $mod+Shift+Up move up
|
||||||
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
|
# Layout stuff:
|
||||||
|
#
|
||||||
|
# You can "split" the current object of your focus with
|
||||||
|
# $mod+b or $mod+v, for horizontal and vertical splits
|
||||||
|
# respectively.
|
||||||
|
bindsym $mod+b splith
|
||||||
|
bindsym $mod+v splitv
|
||||||
|
|
||||||
|
# Switch the current container between different layout styles
|
||||||
|
bindsym $mod+s layout stacking
|
||||||
|
bindsym $mod+w layout tabbed
|
||||||
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
# Make the current focus fullscreen
|
||||||
|
bindsym $mod+f fullscreen
|
||||||
|
|
||||||
|
# Toggle the current focus between tiling and floating mode
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
|
# Swap focus between the tiling area and the floating area
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
|
# Move focus to the parent container
|
||||||
|
bindsym $mod+a focus parent
|
||||||
|
#
|
||||||
|
# Scratchpad:
|
||||||
|
#
|
||||||
|
# Sway has a "scratchpad", which is a bag of holding for windows.
|
||||||
|
# You can send windows there and get them back later.
|
||||||
|
|
||||||
|
# Move the currently focused window to the scratchpad
|
||||||
|
bindsym $mod+Shift+minus move scratchpad
|
||||||
|
|
||||||
|
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||||
|
# If there are multiple scratchpad windows, this command cycles through them.
|
||||||
|
bindsym $mod+minus scratchpad show
|
||||||
|
#
|
||||||
|
# Resizing containers:
|
||||||
|
#
|
||||||
|
mode "resize" {
|
||||||
|
# left will shrink the containers width
|
||||||
|
# right will grow the containers width
|
||||||
|
# up will shrink the containers height
|
||||||
|
# down will grow the containers height
|
||||||
|
bindsym $left resize shrink width 10px
|
||||||
|
bindsym $down resize grow height 10px
|
||||||
|
bindsym $up resize shrink height 10px
|
||||||
|
bindsym $right resize grow width 10px
|
||||||
|
|
||||||
|
# Ditto, with arrow keys
|
||||||
|
bindsym Left resize shrink width 10px
|
||||||
|
bindsym Down resize grow height 10px
|
||||||
|
bindsym Up resize shrink height 10px
|
||||||
|
bindsym Right resize grow width 10px
|
||||||
|
|
||||||
|
# Return to default mode
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# Turn the system off
|
||||||
|
bindsym $mod+Shift+e exec swaynag -t custom -m 'What action would you like to perform?' -b 'Shutdown' 'poweroff' -b 'Restart' 'poweroff --reboot' -b 'Suspend' 'systemctl suspend'
|
||||||
|
|
||||||
|
# Notifications
|
||||||
|
exec_always --no-startup-id dunst
|
||||||
|
|
||||||
|
# Clamshell Mode Script
|
||||||
|
exec_always ~/.config/sway/clamshell.sh
|
||||||
|
|
||||||
|
# flash focus
|
||||||
|
exec_always --no-startup-id flashfocus
|
||||||
|
|
||||||
|
# udiskie - auto usb mounting
|
||||||
|
exec --no-startup-id /usr/bin/udiskie
|
||||||
|
|
||||||
|
# polkit
|
||||||
|
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
|
||||||
|
# Network Manager tray applet
|
||||||
|
exec /usr/bin/nm-applet --indicator
|
||||||
|
|
||||||
|
# Bluetooth manager tray applet
|
||||||
|
exec /usr/bin/blueman-applet
|
||||||
|
|
||||||
|
# Gtk
|
||||||
|
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||||
|
exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||||
|
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||||
|
|
||||||
|
# Wlsunset (Night Light)
|
||||||
|
exec_always wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500
|
||||||
|
|
||||||
|
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 5
|
||||||
|
gaps outer 5
|
||||||
|
|
||||||
|
for_window [app_id="galendae"] floating enable, sticky enable, move position cursor, move down 35
|
||||||
|
|
||||||
|
# Idle configuration
|
||||||
|
exec swayidle -w \
|
||||||
|
timeout 90 'swaylock -f' \
|
||||||
|
# timeout 120 'swaymsg "output * dpms off"'
|
||||||
|
# timeout 600 'swaymsg "output * dpms off"' \
|
||||||
|
# resume 'swaymsg "output * dpms on"' \
|
||||||
|
# before-sleep 'swaylock -f'
|
||||||
|
|
||||||
|
### Input configuration
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
# input "2:14:SynPS/2_Synaptics_TouchPad" {
|
||||||
|
# dwt enabled
|
||||||
|
# tap enabled
|
||||||
|
# natural_scroll enabled
|
||||||
|
# middle_emulation enabled
|
||||||
|
# }
|
||||||
|
#
|
||||||
|
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||||
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
|
input type:keyboard {
|
||||||
|
# Capslock key should work as escape key
|
||||||
|
# See /usr/share/X11/xkb/rules/xorg.lst for options
|
||||||
|
xkb_layout "us(altgr-intl)"
|
||||||
|
xkb_options caps:escape
|
||||||
|
|
||||||
|
repeat_delay 250
|
||||||
|
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-6 pos 1920 0 res 3440x1440
|
||||||
|
#output HDMI-A-1 pos 0 0 res 2560x1440
|
||||||
|
|
||||||
|
# Wallpaper
|
||||||
|
#output DP6 bg /home/opal/.config/wallpapers/3.jpg fill #050402
|
||||||
|
#output DP-5 bg /home/opal/.config/wallpapers/3.jpg fill #050402
|
||||||
|
output eDP-1 bg /home/opal/downloads/img01.jpg fill #000000
|
||||||
|
#output HDMI-A-1 bg /home/opal/.config/wallpapers/3.jpg fill #050402
|
||||||
|
|
||||||
|
# Assign workspaces to numbers
|
||||||
|
set $ws1 number 1
|
||||||
|
set $ws2 number 2
|
||||||
|
set $ws3 number 3
|
||||||
|
set $ws4 number 4
|
||||||
|
set $ws5 number 5
|
||||||
|
set $ws6 number 6
|
||||||
|
|
||||||
|
# Switch to workspace
|
||||||
|
bindsym $mod+1 workspace $ws1
|
||||||
|
bindsym $mod+2 workspace $ws2
|
||||||
|
bindsym $mod+3 workspace $ws3
|
||||||
|
bindsym $mod+4 workspace $ws4
|
||||||
|
bindsym $mod+5 workspace $ws5
|
||||||
|
bindsym $mod+6 workspace $ws6
|
||||||
|
|
||||||
|
# Move focused container to workspace
|
||||||
|
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||||
|
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||||
|
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
|
||||||
|
|
||||||
|
# Status Bar:
|
||||||
|
bar {
|
||||||
|
swaybar_command waybar
|
||||||
|
}
|
||||||
218
.config/sway/config~
Normal file
218
.config/sway/config~
Normal file
@@ -0,0 +1,218 @@
|
|||||||
|
include /gnu/store/6d3q9f1bdfn4cchsziws33ixq2p4zjhw-sway-1.6.1/etc/sway/config.d/*
|
||||||
|
|
||||||
|
set $mod Mod4
|
||||||
|
|
||||||
|
set $left h
|
||||||
|
set $down j
|
||||||
|
set $up k
|
||||||
|
set $right l
|
||||||
|
|
||||||
|
# Terminal
|
||||||
|
set $term alacritty
|
||||||
|
|
||||||
|
# Application Launcher
|
||||||
|
set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||||
|
|
||||||
|
set $opacity 0.92
|
||||||
|
for_window [class=".*"] opacity $opacity
|
||||||
|
for_window [app_id=".*"] opacity $opacity
|
||||||
|
|
||||||
|
# Window Borders
|
||||||
|
default_border none
|
||||||
|
|
||||||
|
# Gaps
|
||||||
|
gaps top 2
|
||||||
|
gaps inner 3
|
||||||
|
# gaps outer 3
|
||||||
|
|
||||||
|
# Hide mouse cursor after inactivity
|
||||||
|
seat * hide_cursor 4000
|
||||||
|
|
||||||
|
# Notifications
|
||||||
|
exec_always dunst
|
||||||
|
|
||||||
|
# Wlsunset (Night Light)
|
||||||
|
exec_always wlsunset -l 47.6, -122.3 -t 3500 -T 6500
|
||||||
|
|
||||||
|
# Wallpaper
|
||||||
|
output * bg /home/opal/Dotfiles/guix-wallpaper.jpg stretch
|
||||||
|
|
||||||
|
# Monitors
|
||||||
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
|
output eDP-1 resolution 1920x1080 position 0,0
|
||||||
|
|
||||||
|
### 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
|
||||||
|
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||||
|
exec swayidle -w \
|
||||||
|
timeout 300 'swaylock -f -c 000000' \
|
||||||
|
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||||
|
before-sleep 'swaylock -f -c 000000'
|
||||||
|
|
||||||
|
### Input configuration
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
# input "2:14:SynPS/2_Synaptics_TouchPad" {
|
||||||
|
# dwt enabled
|
||||||
|
# tap enabled
|
||||||
|
# natural_scroll enabled
|
||||||
|
# middle_emulation enabled
|
||||||
|
# }
|
||||||
|
#
|
||||||
|
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||||
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
|
input type:keyboard {
|
||||||
|
# Capslock key should work as escape key
|
||||||
|
# See /usr/share/X11/xkb/rules/xorg.lst for options
|
||||||
|
xkb_options caps:escape
|
||||||
|
|
||||||
|
repeat_delay 250
|
||||||
|
repeat_rate 45
|
||||||
|
}
|
||||||
|
|
||||||
|
# Start a terminal
|
||||||
|
bindsym $mod+Return exec $term
|
||||||
|
|
||||||
|
# Kill focused window
|
||||||
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
# Lock SwayWM
|
||||||
|
bindsym Control+Shift+l exec swaylock
|
||||||
|
|
||||||
|
# Start your launcher
|
||||||
|
bindsym $mod+d exec $menu
|
||||||
|
|
||||||
|
# Change normal to inverse to use left mouse button for resizing and right
|
||||||
|
# mouse button for dragging.
|
||||||
|
floating_modifier $mod normal
|
||||||
|
|
||||||
|
# Reload the configuration file
|
||||||
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
|
# Exit sway (logs you out of your Wayland session)
|
||||||
|
bindsym $mod+Shift+x exec swaymsg -r exit
|
||||||
|
|
||||||
|
# Moving around:
|
||||||
|
# Move your focus around
|
||||||
|
bindsym $mod+$left focus left
|
||||||
|
bindsym $mod+$down focus down
|
||||||
|
bindsym $mod+$up focus up
|
||||||
|
bindsym $mod+$right focus right
|
||||||
|
# Or use $mod+[up|down|left|right]
|
||||||
|
bindsym $mod+Left focus left
|
||||||
|
bindsym $mod+Down focus down
|
||||||
|
bindsym $mod+Up focus up
|
||||||
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
|
# Move the focused window with the same, but add Shift
|
||||||
|
bindsym $mod+Shift+$left move left
|
||||||
|
bindsym $mod+Shift+$down move down
|
||||||
|
bindsym $mod+Shift+$up move up
|
||||||
|
bindsym $mod+Shift+$right move right
|
||||||
|
# Ditto, with arrow keys
|
||||||
|
bindsym $mod+Shift+Left move left
|
||||||
|
bindsym $mod+Shift+Down move down
|
||||||
|
bindsym $mod+Shift+Up move up
|
||||||
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
|
set $ws1 ۱
|
||||||
|
set $ws2 ۲
|
||||||
|
set $ws3 ۳
|
||||||
|
set $ws4 ۴
|
||||||
|
set $ws5 ۵
|
||||||
|
|
||||||
|
# Switch to workspace
|
||||||
|
bindsym $mod+1 workspace $ws1
|
||||||
|
bindsym $mod+2 workspace $ws2
|
||||||
|
bindsym $mod+3 workspace $ws3
|
||||||
|
bindsym $mod+4 workspace $ws4
|
||||||
|
bindsym $mod+5 workspace $ws5
|
||||||
|
|
||||||
|
# Move focused container to workspace
|
||||||
|
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||||
|
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||||
|
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
|
||||||
|
|
||||||
|
# Layout stuff:
|
||||||
|
#
|
||||||
|
# You can "split" the current object of your focus with
|
||||||
|
# $mod+b or $mod+v, for horizontal and vertical splits
|
||||||
|
# respectively.
|
||||||
|
bindsym $mod+b splith
|
||||||
|
bindsym $mod+v splitv
|
||||||
|
|
||||||
|
# Switch the current container between different layout styles
|
||||||
|
bindsym $mod+s layout stacking
|
||||||
|
bindsym $mod+w layout tabbed
|
||||||
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
# Make the current focus fullscreen
|
||||||
|
bindsym $mod+f fullscreen
|
||||||
|
|
||||||
|
# Toggle the current focus between tiling and floating mode
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
|
# Swap focus between the tiling area and the floating area
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
|
# Move focus to the parent container
|
||||||
|
bindsym $mod+a focus parent
|
||||||
|
#
|
||||||
|
# Scratchpad:
|
||||||
|
#
|
||||||
|
# Sway has a "scratchpad", which is a bag of holding for windows.
|
||||||
|
# You can send windows there and get them back later.
|
||||||
|
|
||||||
|
# Move the currently focused window to the scratchpad
|
||||||
|
bindsym $mod+Shift+minus move scratchpad
|
||||||
|
|
||||||
|
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||||
|
# If there are multiple scratchpad windows, this command cycles through them.
|
||||||
|
bindsym $mod+minus scratchpad show
|
||||||
|
#
|
||||||
|
# Resizing containers:
|
||||||
|
#
|
||||||
|
mode "resize" {
|
||||||
|
# left will shrink the containers width
|
||||||
|
# right will grow the containers width
|
||||||
|
# up will shrink the containers height
|
||||||
|
# down will grow the containers height
|
||||||
|
bindsym $left resize shrink width 10px
|
||||||
|
bindsym $down resize grow height 10px
|
||||||
|
bindsym $up resize shrink height 10px
|
||||||
|
bindsym $right resize grow width 10px
|
||||||
|
|
||||||
|
# Ditto, with arrow keys
|
||||||
|
bindsym Left resize shrink width 10px
|
||||||
|
bindsym Down resize grow height 10px
|
||||||
|
bindsym Up resize shrink height 10px
|
||||||
|
bindsym Right resize grow width 10px
|
||||||
|
|
||||||
|
# Return to default mode
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Status Bar:
|
||||||
|
#
|
||||||
|
# Read `man 5 sway-bar` for more information about this section.
|
||||||
|
bar {
|
||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
||||||
10
.config/swaylock/config
Normal file
10
.config/swaylock/config
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Image
|
||||||
|
image=/home/opal/dotfiles/.config/wallpapers/3.jpg
|
||||||
|
scaling=fill
|
||||||
|
|
||||||
|
# Indicator
|
||||||
|
ignore-empty-password
|
||||||
|
indicator-caps-lock
|
||||||
|
|
||||||
|
# Behavior
|
||||||
|
show-failed-attempts
|
||||||
16
.config/swaynag/config
Normal file
16
.config/swaynag/config
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
[custom]
|
||||||
|
font=Iosevka 13
|
||||||
|
dismiss-button=Dismiss
|
||||||
|
background=0f0f0f
|
||||||
|
border=262626
|
||||||
|
border-bottom=262626
|
||||||
|
button-background=262626
|
||||||
|
text=f0f0f0
|
||||||
|
border-bottom-size=2
|
||||||
|
message-padding=5
|
||||||
|
details-border-size=2
|
||||||
|
button-border-size=0
|
||||||
|
button-gap=5
|
||||||
|
button-dismiss-gap=5
|
||||||
|
button-margin-right=5
|
||||||
|
button-padding=5
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# This file is written by xdg-user-dirs-update
|
|
||||||
# If you want to change or add directories, just edit the line you're
|
|
||||||
# interested in. All local changes will be retained on the next run.
|
|
||||||
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
|
|
||||||
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
|
|
||||||
# absolute path. No other format is supported.
|
|
||||||
#
|
|
||||||
XDG_DESKTOP_DIR="$HOME"
|
|
||||||
XDG_DOWNLOAD_DIR="$HOME/downloads"
|
|
||||||
XDG_TEMPLATES_DIR="$HOME"
|
|
||||||
XDG_PUBLICSHARE_DIR="$HOME"
|
|
||||||
XDG_DOCUMENTS_DIR="$HOME/documents"
|
|
||||||
XDG_MUSIC_DIR="$HOME/music"
|
|
||||||
XDG_PICTURES_DIR="$HOME/pictures"
|
|
||||||
XDG_VIDEOS_DIR="$HOME/videos"
|
|
||||||
101
.config/waybar/config
Normal file
101
.config/waybar/config
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
{
|
||||||
|
"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": true,
|
||||||
|
"format": "<span size='large'>{icon}</span>",
|
||||||
|
// "format-icons": {
|
||||||
|
// "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>",
|
||||||
|
// "7": "<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>",
|
||||||
|
// },
|
||||||
|
},
|
||||||
|
|
||||||
|
"sway/mode": {
|
||||||
|
"format": "<span style='italic'>{}</span>"
|
||||||
|
},
|
||||||
|
|
||||||
|
"tray": {
|
||||||
|
"icon-size": 18,
|
||||||
|
"spacing": 8
|
||||||
|
},
|
||||||
|
|
||||||
|
"clock": {
|
||||||
|
"format": "{: %I:%M %A %B %d}",
|
||||||
|
"tooltip": false,
|
||||||
|
"on-click": "galendae -c $HOME/.config/galendae-cal/galendae.conf"
|
||||||
|
},
|
||||||
|
|
||||||
|
"battery": {
|
||||||
|
"interval": 30,
|
||||||
|
"states": {
|
||||||
|
// "good": 95,
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
},
|
||||||
|
"full-at": "99",
|
||||||
|
"format": " {capacity}%",
|
||||||
|
"format-good": " {capacity}%", // An empty format will hide the module
|
||||||
|
"format-full": "<span size='large' rise='-1600'></span> Full",
|
||||||
|
"format-charging": "<span size='large' rise='-1600'></span> {capacity}% "
|
||||||
|
},
|
||||||
|
|
||||||
|
"network": {
|
||||||
|
"interval": 5,
|
||||||
|
"format-wifi": "<span size='large' rise='-1000'></span> {essid}",
|
||||||
|
"format-ethernet": "<span size='large' rise='-1000'></span> {ifname}",
|
||||||
|
"format-disconnected": "",
|
||||||
|
"tooltip-format-wifi": "{essid}:{signalStrength}\nSpeed:{bandwidthDownBits} \n{ipaddr}"
|
||||||
|
|
||||||
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
"scroll-step": 1,
|
||||||
|
"on-scroll-up": "amixer set Master 3%+",
|
||||||
|
"on-click": "pavucontrol",
|
||||||
|
"on-scroll-down": "amixer set Master 3%-",
|
||||||
|
"format": "",
|
||||||
|
"format": "<span size='large' rise='-1600'>{icon}</span> {volume}%",
|
||||||
|
"format-source": "<span size='large' rise='-1600'>{icon}</span> {volume}%",
|
||||||
|
"format-muted": "<span font=\"FontAwesome 5 Free\"></span> Muted",
|
||||||
|
"format-icons": {
|
||||||
|
"headset": "",
|
||||||
|
"headphone": "",
|
||||||
|
"default": ["", ""]
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"backlight": {
|
||||||
|
"device": "intel_backlight",
|
||||||
|
"format": "",
|
||||||
|
"format-icons": ["", ""],
|
||||||
|
// "on-scroll-up": "brightnessctl set 1%+",
|
||||||
|
// "on-scroll-down": "brightnessctl set 1%-",
|
||||||
|
"on-click": "wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500"
|
||||||
|
},
|
||||||
|
"idle_inhibitor": {
|
||||||
|
"format": "<span rise='-4000' size='large'>{icon}</span>",
|
||||||
|
"format-icons": {
|
||||||
|
"activated": " Idle Inhibit On",
|
||||||
|
"deactivated": " Idle Inhibit Off",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
122
.config/waybar/style.css
Normal file
122
.config/waybar/style.css
Normal file
@@ -0,0 +1,122 @@
|
|||||||
|
\* {
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
font-family: Iosevka, FontAwesome;
|
||||||
|
font-size: 15px;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
opacity: 0.7;
|
||||||
|
background: #000000;
|
||||||
|
color: #bebebe;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
color: #bebebe;
|
||||||
|
background: transparent;
|
||||||
|
padding: 0px 5px 0px 5px;
|
||||||
|
margin: 5px 10px 0 10px;
|
||||||
|
}
|
||||||
|
#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;
|
||||||
|
animation-duration: 0.5s;
|
||||||
|
animation-timing-function: linear;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
animation-direction: alternate;
|
||||||
|
border-radius: 7px;
|
||||||
|
}
|
||||||
|
#mode {
|
||||||
|
font-family: "Iosevka";
|
||||||
|
margin: 0px 15px 0px 15px;
|
||||||
|
padding: 0px 12px 0px 12px;
|
||||||
|
color: black;
|
||||||
|
background: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery{
|
||||||
|
margin:7px 4px 0 4px;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 0px 8px 0px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network {
|
||||||
|
margin:7px 4px 0 4px;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 0px 8px 0px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes critical {
|
||||||
|
to {
|
||||||
|
background: rgba(187,56,0, 1);
|
||||||
|
border-radius: 7px;
|
||||||
|
margin:7px 4px 0 4px;
|
||||||
|
padding: 3px 8px 2px 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes urgent {
|
||||||
|
to {
|
||||||
|
background: rgba(212,140,0, 1);
|
||||||
|
color: black;
|
||||||
|
border-radius: 7px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.critical:not(.charging) {
|
||||||
|
padding: 0px 6px 0px 6px;
|
||||||
|
color: white;
|
||||||
|
animation-name: critical;
|
||||||
|
animation-duration: 0.5s;
|
||||||
|
animation-timing-function: linear;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
animation-direction: alternate;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
margin:7px 0 0 13px;
|
||||||
|
font-family: Manjari;
|
||||||
|
font-size: 16.5px;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 3px 6px 2px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock:hover {
|
||||||
|
background: rgba(40,40,40, .95);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#backlight {
|
||||||
|
margin:7px 4px 0 4px;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 3px 8px 2px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio {
|
||||||
|
margin:7px 4px 0 4px;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 0px 8px 0px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray {
|
||||||
|
margin: 7px 15px 0 4px;
|
||||||
|
background: rgba(40,40,40, .65);
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 0px 5px 0px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor {
|
||||||
|
margin: 7px 4px 0 4px;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 0px 5px 0px 5px;
|
||||||
|
}
|
||||||
47
.config/wofi/config
Normal file
47
.config/wofi/config
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
style=/home/opal/.config/wofi/style.css
|
||||||
|
show=drun
|
||||||
|
width=1000
|
||||||
|
height=300
|
||||||
|
always_parse_args=true
|
||||||
|
show_all=true
|
||||||
|
print_command=true
|
||||||
|
layer=overlay
|
||||||
|
insensitive=true
|
||||||
|
prompt=Search...
|
||||||
|
term=alacritty
|
||||||
|
|
||||||
|
window {
|
||||||
|
margin: 5px;
|
||||||
|
border: 2px solid red;
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input {
|
||||||
|
margin: 5px;
|
||||||
|
border: 2px solid blue;
|
||||||
|
background-color: blue;
|
||||||
|
}
|
||||||
|
|
||||||
|
#inner-box {
|
||||||
|
margin: 5px;
|
||||||
|
border: 2px solid yellow;
|
||||||
|
background-color: yellow;
|
||||||
|
}
|
||||||
|
|
||||||
|
#outer-box {
|
||||||
|
margin: 5px;
|
||||||
|
border: 2px solid green;
|
||||||
|
background-color: green;
|
||||||
|
}
|
||||||
|
|
||||||
|
#scroll {
|
||||||
|
margin: 5px;
|
||||||
|
border: 2px solid orange;
|
||||||
|
background-color: orange;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text {
|
||||||
|
margin: 5px;
|
||||||
|
border: 2px solid cyan;
|
||||||
|
background-color: cyan;
|
||||||
|
}
|
||||||
46
.config/wofi/style.css
Normal file
46
.config/wofi/style.css
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
*{
|
||||||
|
font-family: monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
window {
|
||||||
|
background-color: #7C818C;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input {
|
||||||
|
margin: 5px;
|
||||||
|
border-radius: 0px;
|
||||||
|
border: none;
|
||||||
|
border-bottom: 3px solid black;
|
||||||
|
background-color: #383C4A;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#inner-box {
|
||||||
|
background-color: #383C4A;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#outer-box {
|
||||||
|
margin: 5px;
|
||||||
|
padding:20px;
|
||||||
|
background-color: #383C4A;
|
||||||
|
}
|
||||||
|
|
||||||
|
#scroll {
|
||||||
|
}
|
||||||
|
|
||||||
|
#text {
|
||||||
|
padding: 5px;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry:nth-child(even){
|
||||||
|
background-color: #404552;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry:selected {
|
||||||
|
background-color: #5291e2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text:selected {
|
||||||
|
}
|
||||||
2
.config/xmodmap/xmodmap
Normal file
2
.config/xmodmap/xmodmap
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
clear Lock
|
||||||
|
keycode 0x42 = Escape
|
||||||
@@ -131,7 +131,6 @@ prompt_purification_setup
|
|||||||
bindkey "^[[1;5C" forward-word
|
bindkey "^[[1;5C" forward-word
|
||||||
bindkey "^[[1;5D" backward-word
|
bindkey "^[[1;5D" backward-word
|
||||||
|
|
||||||
|
|
||||||
source /home/opal/bin/zsh-autocomplete/zsh-autocomplete.plugin.zsh
|
source /home/opal/bin/zsh-autocomplete/zsh-autocomplete.plugin.zsh
|
||||||
|
|
||||||
source <(kubectl completion zsh)
|
#source <(kubectl completion zsh)
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
# ~ Pacman ~ #
|
# ~ Pacman ~ #
|
||||||
alias install="sudo apt install"
|
alias install="sudo pacman -S"
|
||||||
alias remove="sudo apt remove"
|
alias remove="sudo pacman -Rs"
|
||||||
alias search="apt search"
|
alias search="sudo pacman -Ss"
|
||||||
alias update="sudo apt update && sudo apt upgrade"
|
alias update="sudo pacman -Syyu"
|
||||||
|
|
||||||
# ~ Commands ~ #
|
# ~ Commands ~ #
|
||||||
alias ip="ip -c"
|
alias ip="ip -c"
|
||||||
|
|
||||||
# ~ Heck the GNU Coreutils ~ #
|
# ~ Heck the GNU Coreutils ~ #
|
||||||
alias ls="exa"
|
alias ls="exa"
|
||||||
alias cat="batcat"
|
alias cat="bat"
|
||||||
|
|
||||||
# ~ Derp ~ #
|
# ~ Derp ~ #
|
||||||
alias unmount="umount"
|
alias unmount="umount"
|
||||||
alias please="sudo"
|
alias please="sudo"
|
||||||
|
|
||||||
# ~ Source Zsh Configuration ~ #
|
# ~ Source Zsh Configuration ~ #
|
||||||
alias zshrcsource="source ~/dotfiles/.config/zsh/.zshrc"
|
alias zshrcsource="source ~/.config/zsh/.zshrc"
|
||||||
|
|||||||
1861
desktop.org
Normal file
1861
desktop.org
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user