Compare commits

..

2 Commits

Author SHA1 Message Date
e332226281 Feat(sway): path and autotiling-rs 2024-02-12 08:09:30 +01:00
0ef904f5c1 Feat(sway): replace theme 2024-02-09 08:39:16 +01:00
6 changed files with 61 additions and 83 deletions

View File

@ -15,4 +15,4 @@ configuration {
sidebar-mode: false; sidebar-mode: false;
auto-select: false; auto-select: false;
} }
@theme "/home/lafrite/.local/share/rofi/rofi-themes-collection/themes/spotlight-dark.rasi" @theme "~/.local/share/rofi/themes/nord/nord.rasi"

View File

@ -92,8 +92,7 @@ input type:pointer {
# Start your launcher # Start your launcher
bindsym $mod+d exec $menu bindsym $mod+d exec $menu
# bindsym $mod+p exec rofi-pass bindsym $mod+p exec rofi-pass
bindsym $mod+p exec tessen
bindsym Print exec ~/.local/bin/sway/rofi_screenshot.sh 2> ~/tmp/rofi_debug.log bindsym Print exec ~/.local/bin/sway/rofi_screenshot.sh 2> ~/tmp/rofi_debug.log
# Drag floating windows by holding down $mod and left mouse button. # Drag floating windows by holding down $mod and left mouse button.
@ -136,15 +135,13 @@ bindsym $mod+Shift+Right move right
# #
# Workspaces: # Workspaces:
# #
set $ws1 1: 󰖟 set $ws1 1:
set $ws2 2: set $ws2 2:
set $ws3 3:  set $ws3 3: 
set $ws4 4:  set $ws4 4: 
set $ws5 5:  set $ws5 5: 
set $ws6 6:  set $ws6 6: 
set $ws7 7:  set $ws7 7: 
set $ws8 8: 󰖟
set $ws9 9: 
bindsym $mod+ampersand workspace $ws1 bindsym $mod+ampersand workspace $ws1
bindsym $mod+eacute workspace $ws2 bindsym $mod+eacute workspace $ws2
@ -153,8 +150,8 @@ bindsym $mod+apostrophe workspace $ws4
bindsym $mod+parenleft workspace $ws5 bindsym $mod+parenleft workspace $ws5
bindsym $mod+minus workspace $ws6 bindsym $mod+minus workspace $ws6
bindsym $mod+egrave workspace $ws7 bindsym $mod+egrave workspace $ws7
bindsym $mod+underscore workspace $ws8 bindsym $mod+underscore workspace 8
bindsym $mod+ccedilla workspace $ws9 bindsym $mod+ccedilla workspace 9
bindsym $mod+1 move container to workspace $ws1 bindsym $mod+1 move container to workspace $ws1
bindsym $mod+2 move container to workspace $ws2 bindsym $mod+2 move container to workspace $ws2
@ -163,8 +160,8 @@ bindsym $mod+4 move container to workspace $ws4
bindsym $mod+5 move container to workspace $ws5 bindsym $mod+5 move container to workspace $ws5
bindsym $mod+6 move container to workspace $ws6 bindsym $mod+6 move container to workspace $ws6
bindsym $mod+7 move container to workspace $ws7 bindsym $mod+7 move container to workspace $ws7
bindsym $mod+8 move container to workspace $ws8 bindsym $mod+8 move container to workspace 8
bindsym $mod+9 move container to workspace $ws9 bindsym $mod+9 move container to workspace 9
bindsym $mod+Ctrl+greater move workspace to output right bindsym $mod+Ctrl+greater move workspace to output right

View File

@ -5,7 +5,7 @@ exec_always /usr/libexec/goa-daemon --replace
exec gammastep-indicator exec gammastep-indicator
exec mako exec mako
exec "avizo-service" exec "avizo-service"
exec_always autotiling-rs exec_always ~/.local/bin/sway/autotiling-rs
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

View File

@ -2,8 +2,8 @@
"layer": "top", "layer": "top",
"output": "eDP-1", "output": "eDP-1",
"height": 30, "height": 30,
"modules-left": ["sway/mode","sway/window" ], "modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/workspaces" ], "modules-center": ["sway/window"],
"modules-right": ["pulseaudio", "battery", "tray", "clock"], "modules-right": ["pulseaudio", "battery", "tray", "clock"],
"sway/window": { "sway/window": {
"max-length": 50 "max-length": 50

View File

@ -10,79 +10,58 @@
window#waybar { window#waybar {
background: @background; background: @background;
color: @foreground; color: @white_b;
} }
#workspaces button { #workspaces button {
padding: 0 2px; padding: 0 2px;
background: transparent; background: transparent;
color: @foreground; color: @white_b;
border-bottom: 3px solid transparent; border-bottom: 3px solid transparent;
} }
#workspaces button.active { #workspaces button.focused {
background: @orange_b;
}
#workspaces button.visible {
background: @orange; background: @orange;
border-radius: 2px; border-bottom: 3px solid @orange_b;
border-top: 3px solid @orange_b;
} }
#mode, #mode, #clock, #battery {
#clock,
#battery {
padding: 0 10px; padding: 0 10px;
margin: 0 5px; margin: 0 5px;
} }
#mode { #mode {
background: @red; background: @red;
border-bottom: 3px solid @foreground; border-bottom: 3px solid @white_b;
}
#window {
padding: 0 10px;
} }
#clock { #clock {
color: @foreground; color: @white_b;
} }
#battery { #battery {
color: @foreground; color: @white_b;
} }
#battery.charging { #battery.charging {
color: @green; color: @gree;
} }
@keyframes blink { @keyframes blink {
to { to {
background-color: @foreground; background-color: @white_b;
color: @background; color: @background;
} }
} }
#idle_inhibitor, #idle_inhibitor, #pulseaudio, #custom-openvpn, #network, #cpu, #memory, #temperature, #backlight, #battery, #clock, #tray {
#pulseaudio,
#custom-openvpn,
#network,
#cpu,
#memory,
#temperature,
#backlight,
#battery,
#clock,
#tray {
padding: 0 6px; padding: 0 6px;
margin: 0 3px; margin: 0 3px;
} }
#battery.warning:not(.charging) { #battery.warning:not(.charging) {
background: @red; background: @red;
color: @foreground; color: @white_b;
animation-name: blink; animation-name: blink;
animation-duration: 0.5s; animation-duration: 0.5s;
animation-timing-function: linear; animation-timing-function: linear;

View File

@ -47,10 +47,7 @@ alias rm='rm -i'
alias cat='bat -pp' alias cat='bat -pp'
alias less='bat -p' alias less='bat -p'
# Newsboat export PATH="$HOME/.local/bin/:$PATH"
alias newsboat='tmux new -As newsboat newsboat'
# Autosuggestions # Autosuggestions
# git clone https://github.com/zsh-users/zsh-autosuggestions ~/.config/zsh/ # git clone https://github.com/zsh-users/zsh-autosuggestions ~/.config/zsh/
source ~/.config/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh source ~/.config/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
@ -75,7 +72,7 @@ bindkey -M vicmd 'j' history-substring-search-down
source ~/.config/zsh/auto-ls/auto-ls.zsh source ~/.config/zsh/auto-ls/auto-ls.zsh
# Pyenv # Pyenv
eval "$(pyenv init --path)" # eval "$(pyenv init --path)"
source ~/.config/zsh/completion.zsh source ~/.config/zsh/completion.zsh
@ -90,10 +87,15 @@ _fzf_complete_pass() {
} }
# yarn global commands # yarn global commands
export PATH="$(yarn global bin):$PATH" # export PATH="$(yarn global bin):$PATH"
# zk # zk
export ZK_NOTEBOOK_DIR="/home/lafrite/Nextcloud/Documents/zettelkasten/" # export ZK_NOTEBOOK_DIR="/home/lafrite/Nextcloud/Documents/zettelkasten/"
# tea # tea
PROG=tea _CLI_ZSH_AUTOCOMPLETE_HACK=1 source "/home/lafrite/.config/tea/autocomplete.zsh" # PROG=tea _CLI_ZSH_AUTOCOMPLETE_HACK=1 source "/home/lafrite/.config/tea/autocomplete.zsh"
# Newsboat
# alias newsboat='tmux new -As newsboat newsboat'