Compare commits
No commits in common. "73ca51b2c621a84ec1728a24931011ffd705c83e" and "6f4d43ee700020114e96f643fe986186a737dd92" have entirely different histories.
73ca51b2c6
...
6f4d43ee70
6 changed files with 19 additions and 55 deletions
|
@ -10,7 +10,3 @@ font=monospace:pixelsize=19
|
||||||
initial-window-size-chars=120x24
|
initial-window-size-chars=120x24
|
||||||
|
|
||||||
include = ~/.cache/themer.lua/foot
|
include = ~/.cache/themer.lua/foot
|
||||||
|
|
||||||
[csd]
|
|
||||||
border-width=2
|
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,15 @@ set $menu fuzzel-run
|
||||||
font Inter Medium 10
|
font Inter Medium 10
|
||||||
|
|
||||||
### Output configuration
|
### Output configuration
|
||||||
output * background /usr/share/backgrounds/gnome/blobs-d.svg fill
|
#
|
||||||
|
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||||
|
output * background $background solid_color
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||||
|
#
|
||||||
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
|
|
||||||
### Idle configuration
|
### Idle configuration
|
||||||
#
|
#
|
||||||
|
@ -35,7 +43,6 @@ bindsym $mod+Shift+p exec "lock && doas su -c 'echo mem > /sys/power/state'"
|
||||||
input * {
|
input * {
|
||||||
repeat_delay 290
|
repeat_delay 290
|
||||||
repeat_rate 30
|
repeat_rate 30
|
||||||
natural_scroll on
|
|
||||||
}
|
}
|
||||||
|
|
||||||
### Key bindings
|
### Key bindings
|
||||||
|
@ -76,10 +83,6 @@ input * {
|
||||||
bindsym $mod+Down focus down
|
bindsym $mod+Down focus down
|
||||||
bindsym $mod+Up focus up
|
bindsym $mod+Up focus up
|
||||||
bindsym $mod+Right focus right
|
bindsym $mod+Right focus right
|
||||||
bindsym Mod1+Left focus left
|
|
||||||
bindsym Mod1+Down focus down
|
|
||||||
bindsym Mod1+Up focus up
|
|
||||||
bindsym Mod1+Right focus right
|
|
||||||
|
|
||||||
# Move the focused window with the same, but add Shift
|
# Move the focused window with the same, but add Shift
|
||||||
bindsym $mod+Shift+$left move left
|
bindsym $mod+Shift+$left move left
|
||||||
|
@ -90,10 +93,6 @@ input * {
|
||||||
bindsym $mod+Shift+Down move down
|
bindsym $mod+Shift+Down move down
|
||||||
bindsym $mod+Shift+Up move up
|
bindsym $mod+Shift+Up move up
|
||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+Right move right
|
||||||
bindsym Mod1+Shift+Left move left
|
|
||||||
bindsym Mod1+Shift+Down move down
|
|
||||||
bindsym Mod1+Shift+Up move up
|
|
||||||
bindsym Mod1+Shift+Right move right
|
|
||||||
|
|
||||||
bindsym $mod+Control+$left move workspace to output left
|
bindsym $mod+Control+$left move workspace to output left
|
||||||
bindsym $mod+Control+$down move workspace to output down
|
bindsym $mod+Control+$down move workspace to output down
|
||||||
|
@ -103,10 +102,6 @@ input * {
|
||||||
bindsym $mod+Control+Down move workspace to output down
|
bindsym $mod+Control+Down move workspace to output down
|
||||||
bindsym $mod+Control+Up move workspace to output up
|
bindsym $mod+Control+Up move workspace to output up
|
||||||
bindsym $mod+Control+Right move workspace to output right
|
bindsym $mod+Control+Right move workspace to output right
|
||||||
bindsym Mod1+Control+Left move workspace to output left
|
|
||||||
bindsym Mod1+Control+Down move workspace to output down
|
|
||||||
bindsym Mod1+Control+Up move workspace to output up
|
|
||||||
bindsym Mod1+Control+Right move workspace to output right
|
|
||||||
#
|
#
|
||||||
# Workspaces:
|
# Workspaces:
|
||||||
#
|
#
|
||||||
|
@ -133,23 +128,21 @@ input * {
|
||||||
# bindsym $mod+Shift+9 move container to workspace "9: media"
|
# bindsym $mod+Shift+9 move container to workspace "9: media"
|
||||||
# bindsym $mod+Shift+0 move container to workspace number 10
|
# bindsym $mod+Shift+0 move container to workspace number 10
|
||||||
|
|
||||||
bindsym Mod4+Prior exec sway-switch_workspace prev
|
|
||||||
bindsym Mod4+Next exec sway-switch_workspace next
|
|
||||||
bindsym Mod4+Mod1+Prior exec sway-switch_workspace prev move
|
|
||||||
bindsym Mod4+Mod1+Next exec sway-switch_workspace next move
|
|
||||||
|
|
||||||
# Layout stuff:
|
# Layout stuff:
|
||||||
bindsym $mod+a focus parent
|
bindsym $mod+a focus parent
|
||||||
bindsym $mod+Shift+a focus child
|
bindsym $mod+Shift+a focus child
|
||||||
|
|
||||||
bindsym $mod+s sticky toggle
|
bindsym $mod+s sticky toggle
|
||||||
|
|
||||||
bindsym $mod+t layout toggle tabbed splith splitv
|
bindsym $mod+g layout toggle splitv splith stacking tabbed
|
||||||
bindsym $mod+v split v
|
bindsym $mod+Shift+g split v
|
||||||
|
|
||||||
bindsym $mod+f fullscreen
|
bindsym $mod+f fullscreen
|
||||||
|
|
||||||
bindsym $mod+Shift+f floating toggle
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
|
# Swap focus between the tiling area and the floating area
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
#
|
#
|
||||||
# Scratchpad:
|
# Scratchpad:
|
||||||
|
@ -203,7 +196,7 @@ bar {
|
||||||
|
|
||||||
colors {
|
colors {
|
||||||
statusline $foreground
|
statusline $foreground
|
||||||
background $background
|
background $backgroundish
|
||||||
focused_workspace $accent $accent $background
|
focused_workspace $accent $accent $background
|
||||||
active_workspace $accentish $accentish $background
|
active_workspace $accentish $accentish $background
|
||||||
inactive_workspace $background $background $foreground
|
inactive_workspace $background $background $foreground
|
||||||
|
@ -256,7 +249,7 @@ for_window [app_id="telegram-desktop"] layout tabbed
|
||||||
|
|
||||||
exec brillo -I
|
exec brillo -I
|
||||||
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||||
exec /usr/libexec/pipewire-launcher
|
exec pipewire
|
||||||
exec "foot --server"
|
exec "foot --server"
|
||||||
exec "wlsunset -l -34.61315 -L -58.37723"
|
exec "wlsunset -l -34.61315 -L -58.37723"
|
||||||
exec swaync
|
exec swaync
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
rose-pine
|
rose-pine-dawn
|
|
@ -1,23 +0,0 @@
|
||||||
#!/usr/bin/luajit
|
|
||||||
|
|
||||||
local direction = arg[1]
|
|
||||||
local move = arg[2]
|
|
||||||
|
|
||||||
--local file = io.popen "swaymsg -t get_outputs -r | jq -r '.[] | select(.focused == true) | .name'"
|
|
||||||
local file = io.popen "swaymsg -t get_workspaces -r | jq -r '.[] | select(.focused == true) | .name'"
|
|
||||||
local string = file:read '*a'
|
|
||||||
print(string)
|
|
||||||
|
|
||||||
local command = 'workspace'
|
|
||||||
if move == 'move' then
|
|
||||||
command = 'move container to workspace'
|
|
||||||
end
|
|
||||||
|
|
||||||
if direction == 'next' then
|
|
||||||
os.execute('swaymsg '..command..' '..string+1)
|
|
||||||
elseif direction == 'prev' then
|
|
||||||
if string+0 ~= 1 then
|
|
||||||
os.execute('swaymsg '..command..' '..string-1)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
2
.profile
2
.profile
|
@ -25,7 +25,5 @@ export XKB_DEFAULT_OPTIONS=caps:escape
|
||||||
|
|
||||||
export XCURSOR_THEME=Adwaita
|
export XCURSOR_THEME=Adwaita
|
||||||
|
|
||||||
export SVDIR="$HOME/.local/share/service"
|
|
||||||
|
|
||||||
test -f "$HOME/.profile.$(hostname)" && source "$HOME/.profile.$(hostname)"
|
test -f "$HOME/.profile.$(hostname)" && source "$HOME/.profile.$(hostname)"
|
||||||
export REMOTE="${REMOTE:-true}"
|
export REMOTE="${REMOTE:-true}"
|
||||||
|
|
|
@ -8,7 +8,7 @@ if ! "$REMOTE" && test "$(tty)" = /dev/tty1; then
|
||||||
mkdir -p "$HOME/.local/share/sway"
|
mkdir -p "$HOME/.local/share/sway"
|
||||||
log="$HOME/.local/share/sway/$(date +%Y-%m-%d@%H:%M:%S).log"
|
log="$HOME/.local/share/sway/$(date +%Y-%m-%d@%H:%M:%S).log"
|
||||||
|
|
||||||
pgrep -U "$(id -u)" runsv >/dev/null || (nohup runsvdir ~/.local/share/service ............. >/dev/null &)
|
pgrep -U "$(id -u)" runsv >/dev/null || (nohup runsvdir ~/.local/share/service >/dev/null &; disown)
|
||||||
|
|
||||||
exec env \
|
exec env \
|
||||||
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
|
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
|
||||||
|
|
Loading…
Reference in a new issue