Added missing configurations
This commit is contained in:
parent
b897574ef7
commit
d039abbd0d
4
.config/imv/config
Normal file
4
.config/imv/config
Normal file
|
@ -0,0 +1,4 @@
|
|||
[binds]
|
||||
y = exec wl-copy < "$imv_current_file"
|
||||
d = exec dragon -a -x "$imv_current_file"
|
||||
f = fullscreen; reset
|
43
.config/kitty/theme-base16-gruvbox-dark.conf
Normal file
43
.config/kitty/theme-base16-gruvbox-dark.conf
Normal file
|
@ -0,0 +1,43 @@
|
|||
# Base16 Gruvbox dark, hard - kitty color config
|
||||
# Scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)
|
||||
background #1d2021
|
||||
foreground #d5c4a1
|
||||
selection_background #d5c4a1
|
||||
selection_foreground #1d2021
|
||||
url_color #bdae93
|
||||
cursor #d5c4a1
|
||||
active_border_color #665c54
|
||||
inactive_border_color #3c3836
|
||||
active_tab_background #1d2021
|
||||
active_tab_foreground #d5c4a1
|
||||
inactive_tab_background #3c3836
|
||||
inactive_tab_foreground #bdae93
|
||||
tab_bar_background #3c3836
|
||||
|
||||
# normal
|
||||
color0 #1d2021
|
||||
color1 #fb4934
|
||||
color2 #b8bb26
|
||||
color3 #fabd2f
|
||||
color4 #83a598
|
||||
color5 #d3869b
|
||||
color6 #8ec07c
|
||||
color7 #d5c4a1
|
||||
|
||||
# bright
|
||||
color8 #665c54
|
||||
color9 #fb4934
|
||||
color10 #b8bb26
|
||||
color11 #fabd2f
|
||||
color12 #83a598
|
||||
color13 #d3869b
|
||||
color14 #8ec07c
|
||||
color15 #fbf1c7
|
||||
|
||||
# extended base16 colors
|
||||
color16 #fe8019
|
||||
color17 #d65d0e
|
||||
color18 #3c3836
|
||||
color19 #504945
|
||||
color20 #bdae93
|
||||
color21 #ebdbb2
|
43
.config/kitty/theme-base16-solarized-dark.conf
Normal file
43
.config/kitty/theme-base16-solarized-dark.conf
Normal file
|
@ -0,0 +1,43 @@
|
|||
# Base16 Solarized Dark - kitty color config
|
||||
# Scheme by Ethan Schoonover (modified by aramisgithub)
|
||||
background #002b36
|
||||
foreground #93a1a1
|
||||
selection_background #93a1a1
|
||||
selection_foreground #002b36
|
||||
url_color #839496
|
||||
cursor #93a1a1
|
||||
active_border_color #657b83
|
||||
inactive_border_color #073642
|
||||
active_tab_background #002b36
|
||||
active_tab_foreground #93a1a1
|
||||
inactive_tab_background #073642
|
||||
inactive_tab_foreground #839496
|
||||
tab_bar_background #073642
|
||||
|
||||
# normal
|
||||
color0 #002b36
|
||||
color1 #dc322f
|
||||
color2 #859900
|
||||
color3 #b58900
|
||||
color4 #268bd2
|
||||
color5 #6c71c4
|
||||
color6 #2aa198
|
||||
color7 #93a1a1
|
||||
|
||||
# bright
|
||||
color8 #657b83
|
||||
color9 #dc322f
|
||||
color10 #859900
|
||||
color11 #b58900
|
||||
color12 #268bd2
|
||||
color13 #6c71c4
|
||||
color14 #2aa198
|
||||
color15 #fdf6e3
|
||||
|
||||
# extended base16 colors
|
||||
color16 #cb4b16
|
||||
color17 #d33682
|
||||
color18 #073642
|
||||
color19 #586e75
|
||||
color20 #839496
|
||||
color21 #eee8d5
|
3
.config/nvim/init.vim
Normal file
3
.config/nvim/init.vim
Normal file
|
@ -0,0 +1,3 @@
|
|||
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
||||
let &packpath=&runtimepath
|
||||
source ~/.vimrc
|
BIN
.config/sway/background.jpg
Normal file
BIN
.config/sway/background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 563 KiB |
BIN
.config/sway/background.png
Normal file
BIN
.config/sway/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.1 MiB |
467
.config/sway/config
Normal file
467
.config/sway/config
Normal file
|
@ -0,0 +1,467 @@
|
|||
#Default config for sway
|
||||
#
|
||||
# Copy this to ~/.config/sway/config and edit it to your liking.
|
||||
#
|
||||
# Read `man 5 sway` for a complete reference.
|
||||
|
||||
### Variables
|
||||
#
|
||||
# Logo key. Use Mod1 for Alt.
|
||||
set $mod Mod4
|
||||
# Home row direction keys, like vim
|
||||
set $left h
|
||||
set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
# Your preferred terminal emulator
|
||||
set $term kitty
|
||||
# Your preferred application launcher
|
||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||
# on the original workspace that the command was run on.
|
||||
#set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||
|
||||
### Output configuration
|
||||
#
|
||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||
output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||
#
|
||||
# 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
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
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'
|
||||
#
|
||||
# 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.
|
||||
|
||||
### 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.
|
||||
|
||||
### Key bindings
|
||||
#
|
||||
# Basics:
|
||||
#
|
||||
# Start a terminal
|
||||
bindsym $mod+Return exec $term
|
||||
|
||||
# Kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# Start your launcher
|
||||
bindsym $mod+d exec $menu
|
||||
|
||||
# Drag floating windows by holding down $mod and left mouse button.
|
||||
# Resize them with right mouse button + $mod.
|
||||
# Despite the name, also works for non-floating windows.
|
||||
# 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+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg 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
|
||||
#
|
||||
# Workspaces:
|
||||
#
|
||||
# # Switch to workspace
|
||||
# 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+0 workspace number 10
|
||||
# # Move focused container to workspace
|
||||
# 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+Shift+0 move container to workspace number 10
|
||||
# # Note: workspaces can have any name you want, not just numbers.
|
||||
# # We just use 1-10 as the default.
|
||||
#
|
||||
# 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"
|
||||
|
||||
#######################################################################
|
||||
# lanxu's modifications
|
||||
#######################################################################
|
||||
|
||||
# Linear accel force
|
||||
input type:pointer {
|
||||
accel_profile "flat"
|
||||
pointer_accel 0
|
||||
}
|
||||
|
||||
set $menu wofi --lines=10 --show=drun --allow-images --insensitive
|
||||
|
||||
set $ws1 "1:term"
|
||||
set $ws2 "2:irc"
|
||||
set $ws3 "3:net"
|
||||
set $ws4 "4:gfx"
|
||||
set $ws5 "5:steam"
|
||||
set $ws6 "6:lutris"
|
||||
set $ws7 "7:x"
|
||||
set $ws8 "8:x"
|
||||
set $ws9 "9:pw"
|
||||
set $ws10 "10:tray"
|
||||
# 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
|
||||
bindsym $mod+7 workspace $ws7
|
||||
bindsym $mod+8 workspace $ws8
|
||||
bindsym $mod+9 workspace $ws9
|
||||
bindsym $mod+0 workspace $ws10
|
||||
# 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
|
||||
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
|
||||
bindsym $mod+Shift+0 move container to workspace $ws10
|
||||
|
||||
|
||||
# Assignments
|
||||
assign [app_id="^firefox$"] → $ws3
|
||||
assign [app_id="^cantata$"] → $ws10
|
||||
assign [app_id="^org.keepassxc.KeePassXC$" title="^Avaa tietokanta"] → $ws3
|
||||
assign [app_id="^org.keepassxc.KeePassXC$" title="(?!Avaa tietokanta)"] → $ws9
|
||||
assign [app_id="^pavucontrol$"] → $ws10
|
||||
assign [app_id="^lutris$"] → $ws6
|
||||
assign [class="^krita$"] → $ws4
|
||||
assign [class="^Blender$"] → $ws4
|
||||
assign [class="^Gimp$"] → $ws4
|
||||
assign [class="^Nextcloud$"] → $ws10
|
||||
assign [class="^Element$"] → $ws2
|
||||
assign [app_id="^Element$"] → $ws2
|
||||
|
||||
# Modifiers
|
||||
for_window [app_id="telegramdesktop" title="(.*)Telegram(.*)"] floating enable, move scratchpad
|
||||
# for_window [app_id="telegramdesktop" title=".*(?<!Media viewer)$"] floating enable, move scratchpad
|
||||
for_window [app_id="mpv"] floating enable, move position center
|
||||
for_window [app_id="net.sourceforge.mumble.mumble"] floating enable, move position center
|
||||
for_window [app_id="imv"] floating enable
|
||||
for_window [app_id="com.nextcloud.desktopclient.nextcloud"] floating enable, move position mouse, move down 25px
|
||||
for_window [class="itch"] floating enable
|
||||
# for_window [class="Wine"] floating enable
|
||||
for_window [class="vlc"] floating enable
|
||||
|
||||
# services
|
||||
#for_window [class="Nextcloud"] floating enable, move position center, move scratchpad
|
||||
for_window [class="cantata"] floating disable
|
||||
for_window [class="boincmgr"] floating disable
|
||||
|
||||
# Games
|
||||
for_window [class="kfgame.exe"] floating enable
|
||||
for_window [class="Origin"] floating enable
|
||||
for_window [class="^steam_app"] floating enable
|
||||
for_window [class="Wine"] floating enable
|
||||
for_window [class="Proton"] floating enable
|
||||
for_window [class="Melvor Idle"] floating enable
|
||||
for_window [app_id="AlienIsolation"] floating enable
|
||||
for_window [app_id="FeralLinuxMessage"] floating enable
|
||||
for_window [title="SRHK"] floating enable
|
||||
|
||||
# Steam
|
||||
# https://github.com/ValveSoftware/steam-for-linux/issues/1040
|
||||
for_window [class="^Steam$" title="^Friends$"] floating enable
|
||||
for_window [class="^Steam$" title="Steam - News"] floating enable
|
||||
for_window [class="^Steam$" title=".* - Chat"] floating enable
|
||||
for_window [class="^Steam$" title="^Settings$"] floating enable
|
||||
for_window [class="^Steam$" title=".* - event started"] floating enable
|
||||
for_window [class="^Steam$" title=".* CD key"] floating enable
|
||||
for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable
|
||||
for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable
|
||||
for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable
|
||||
for_window [title="^Steam Keyboard$"] floating enable
|
||||
for_window [class="^Steam$"] move container to workspace $ws5
|
||||
for_window [title="^Friends List$"] move container to workspace $ws5, floating enable, resize set width 400px
|
||||
|
||||
mouse_warping none
|
||||
|
||||
# Special keysyms
|
||||
bindsym $mod+t [app_id="telegramdesktop"] scratchpad show
|
||||
bindsym $mod+n [class="^Nextcloud"] scratchpad show
|
||||
|
||||
# gaps
|
||||
smart_borders off
|
||||
smart_gaps off
|
||||
gaps outer 0
|
||||
gaps inner 0
|
||||
|
||||
## Base16 Gruvbox dark, hard
|
||||
# Author: Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)
|
||||
#
|
||||
# You can use these variables anywhere in the i3 configuration file.
|
||||
|
||||
#set $base00 #1d2021
|
||||
#set $base01 #3c3836
|
||||
#set $base02 #504945
|
||||
#set $base03 #665c54
|
||||
#set $base04 #bdae93
|
||||
#set $base05 #d5c4a1
|
||||
#set $base06 #ebdbb2
|
||||
#set $base07 #fbf1c7
|
||||
#set $base08 #fb4934
|
||||
#set $base09 #fe8019
|
||||
#set $base0A #fabd2f
|
||||
#set $base0B #b8bb26
|
||||
#set $base0C #8ec07c
|
||||
#set $base0D #83a598
|
||||
#set $base0E #d3869b
|
||||
#set $base0F #d65d0e
|
||||
|
||||
|
||||
# https://github.com/khamer/base16-i3/tree/master/colors
|
||||
|
||||
## Base16 Solarized Light
|
||||
# Author: Ethan Schoonover (modified by aramisgithub)
|
||||
#
|
||||
# You can use these variables anywhere in the i3 configuration file.
|
||||
|
||||
#set $base00 #fdf6e3
|
||||
#set $base01 #eee8d5
|
||||
#set $base02 #93a1a1
|
||||
#set $base03 #839496
|
||||
#set $base04 #657b83
|
||||
#set $base05 #586e75
|
||||
#set $base06 #073642
|
||||
#set $base07 #002b36
|
||||
#set $base08 #dc322f
|
||||
#set $base09 #cb4b16
|
||||
#set $base0A #b58900
|
||||
#set $base0B #859900
|
||||
#set $base0C #2aa198
|
||||
#set $base0D #268bd2
|
||||
#set $base0E #6c71c4
|
||||
#set $base0F #d33682
|
||||
|
||||
## Base16 Solarized Dark
|
||||
# Author: Ethan Schoonover (modified by aramisgithub)
|
||||
#
|
||||
# You can use these variables anywhere in the i3 configuration file.
|
||||
|
||||
set $base00 #002b36
|
||||
set $base01 #073642
|
||||
set $base02 #586e75
|
||||
set $base03 #657b83
|
||||
set $base04 #839496
|
||||
set $base05 #93a1a1
|
||||
set $base06 #eee8d5
|
||||
set $base07 #fdf6e3
|
||||
set $base08 #dc322f
|
||||
set $base09 #cb4b16
|
||||
set $base0A #b58900
|
||||
set $base0B #859900
|
||||
set $base0C #2aa198
|
||||
set $base0D #268bd2
|
||||
set $base0E #6c71c4
|
||||
set $base0F #d33682
|
||||
|
||||
# Basic bar configuration using the Base16 variables.
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
}
|
||||
|
||||
# Basic color configuration using the Base16 variables for windows and borders.
|
||||
# Property Name Border BG Text Indicator Child Border
|
||||
client.focused $base05 $base0D $base00 $base0D $base0C
|
||||
client.focused_inactive $base01 $base01 $base05 $base03 $base01
|
||||
client.unfocused $base01 $base00 $base05 $base01 $base01
|
||||
client.urgent $base08 $base08 $base00 $base08 $base08
|
||||
client.placeholder $base00 $base00 $base05 $base00 $base00
|
||||
client.background $base07
|
||||
|
||||
default_border pixel 1
|
||||
# Removes all borders
|
||||
for_window [class=".*"] border pixel 0
|
||||
|
||||
exec --no-startup-id "dunst" # in case multiple daemons are installed
|
||||
|
||||
# Services
|
||||
exec --no-startup-id "mpd /home/lanxu/.config/mpd/mpd.conf" # Music Player Daemon
|
||||
|
||||
#exec --no-startup-id "./Scripts/sway_screensaver.sh" # Screensaver
|
||||
exec --no-startup-id "udiskie --notify --automount" # Automounter
|
||||
|
||||
# Background software
|
||||
exec --no-startup-id "cantata"
|
||||
exec --no-startup-id "pavucontrol"
|
||||
exec --no-startup-id "keepassxc" # Password manager
|
||||
exec --no-startup-id "nextcloud --background"
|
||||
|
||||
# Applications
|
||||
exec --no-startup-id "dex -a -s ~/.config/autostart/"
|
||||
exec --no-startup-id "telegram-desktop"
|
||||
exec --no-startup-id "element-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland"
|
||||
exec --no-startup-id "steam"
|
||||
|
||||
# Set manual layout for tray workspace
|
||||
#exec --no-startup-id "i3-msg 'workspace 10:tray; append_layout /home/lanxu/.config/i3/tray.json'"
|
||||
|
||||
bindsym XF86AudioStop exec --no-startup-id mpc stop
|
||||
bindsym XF86AudioPlay exec --no-startup-id mpc toggle
|
||||
bindsym XF86AudioPause exec --no-startup-id mpc pause
|
||||
bindsym XF86AudioNext exec --no-startup-id mpc next
|
||||
bindsym XF86AudioPrev exec --no-startup-id mpc prev
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||
|
||||
# Print screen
|
||||
bindsym $mod+Print exec --no-startup-id "./Scripts/sway/take_screenshot.sh region-copy"
|
||||
bindsym $mod+Shift+Print exec --no-startup-id "./Scripts/sway/take_screenshot.sh region"
|
||||
bindsym Print exec --no-startup-id "./Scripts/sway/take_screenshot.sh screen"
|
||||
#bindsym Print exec --no-startup-id flameshot gui
|
||||
#bindsym Scroll_Lock exec --no-startup-id "./Scripts/powermenu.sh"
|
||||
bindsym $mod+c exec --no-startup-id "./Scripts/powermenu.sh"
|
||||
|
||||
# Moving desktops
|
||||
bindsym $mod+o move workspace to output left
|
||||
bindsym $mod+Ctrl+Right move workspace to output right
|
||||
bindsym $mod+Ctrl+Left move workspace to output left
|
||||
|
||||
#output DP-2 pos 1920 0 res 1920x1080@60Hz adaptive_sync off
|
||||
#output DP-2 disable
|
||||
#output DVI-D-1 disable
|
||||
output DVI-D-1 pos 0 0 res 1920x1080
|
||||
output DP-2 pos 1920 0 res 1920x1080@144Hz adaptive_sync on
|
||||
#output HDMI-A-1 disable
|
||||
#output HDMI-A-1 pos 3840 0 res 1680x1050
|
||||
#output HDMI-A-2 pos 5520 0 res 1920x1080 # TV
|
||||
#output HDMI-A-2 pos 3840 0 res 1920x1080 # TV
|
||||
|
||||
output "*" bg "/home/lanxu/.config/sway/background.jpg" fill
|
||||
|
||||
# inhibits
|
||||
# wayland
|
||||
for_window [app_id=".*"] inhibit_idle fullscreen
|
||||
# xwayland
|
||||
for_window [class=".*"] inhibit_idle fullscreen
|
||||
|
||||
exec_always "/home/lanxu/Scripts/import-gsettings"
|
||||
|
||||
# default includes
|
||||
include /etc/sway/config.d/*
|
131
.config/waybar/config
Normal file
131
.config/waybar/config
Normal file
|
@ -0,0 +1,131 @@
|
|||
// -*- mode: json -*-
|
||||
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
|
||||
"modules-left": [
|
||||
"sway/workspaces",
|
||||
],
|
||||
"modules-center": [
|
||||
"clock#1",
|
||||
"clock#2",
|
||||
"clock#3",
|
||||
],
|
||||
"modules-right": [
|
||||
"pulseaudio",
|
||||
"memory",
|
||||
"cpu",
|
||||
"custom/gpu",
|
||||
"network",
|
||||
"disk",
|
||||
"custom/pacman",
|
||||
"mpd",
|
||||
"tray"
|
||||
],
|
||||
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"format": "{index}: {name}"
|
||||
},
|
||||
|
||||
"clock#1": {
|
||||
"format": "{:%a}",
|
||||
"tooltip": false
|
||||
},
|
||||
"clock#2": {
|
||||
"format": "{:%H.%M}",
|
||||
"tooltip": false
|
||||
},
|
||||
"clock#3": {
|
||||
"format": "{:%d-%m-%Y}",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume:2}%",
|
||||
"format-bluetooth": "{icon} {volume}%",
|
||||
"format-muted": "MUTE",
|
||||
"format-icons": {
|
||||
"headphones": "",
|
||||
"default": [
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"scroll-step": 5,
|
||||
"on-click": "pamixer -t",
|
||||
"on-click-right": "pavucontrol"
|
||||
},
|
||||
"memory": {
|
||||
"interval": 5,
|
||||
"format": "Mem {}%"
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 5,
|
||||
"format": "CPU {usage:2}%"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"network": {
|
||||
"format": "{icon} {ipaddr}",
|
||||
"format-alt": "{icon} {ipaddr}/{cidr}",
|
||||
"format-alt-click": "click-right",
|
||||
"format-icons": {
|
||||
"wifi": [""],
|
||||
"ethernet": [""],
|
||||
"disconnected": [""]
|
||||
},
|
||||
"on-click": "kitty -e nmtui",
|
||||
"tooltip": false
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "{icon}",
|
||||
"format-alt": "bluetooth: {status}",
|
||||
"format-icons": {
|
||||
"enabled": "",
|
||||
"disabled": ""
|
||||
},
|
||||
"tooltip-format": "{}"
|
||||
},
|
||||
"disk": {
|
||||
"interval": 5,
|
||||
"format": "Disk {percentage_used:2}%",
|
||||
"path": "/"
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 20
|
||||
},
|
||||
"mpd": {
|
||||
"format": "{title}"
|
||||
},
|
||||
"custom/gpu": {
|
||||
"format": "GPU {} ℃",
|
||||
//"max-length": 15,
|
||||
"interval": 15,
|
||||
"exec": "/home/lanxu/Scripts/gputemp.py",
|
||||
"on-click": "gputemp.py"
|
||||
},
|
||||
"custom/pacman": {
|
||||
"format": " {}",
|
||||
"tooltip-format": "{tooltip}",
|
||||
"return-type": "json",
|
||||
"interval": 3600, // every hour
|
||||
"exec": "/home/lanxu/Scripts/checkupdates.sh",
|
||||
"on-click": "kitty sh -c 'sudo pacman -Syu'; pkill -SIGRTMIN+8 waybar", // update system
|
||||
"signal": 8
|
||||
}
|
||||
}
|
118
.config/waybar/style.css
Normal file
118
.config/waybar/style.css
Normal file
|
@ -0,0 +1,118 @@
|
|||
* {
|
||||
font-size: 12px;
|
||||
font-family: "Fira Sans", monospace;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
color: #fdf6e3;
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#clock.1,
|
||||
#clock.2,
|
||||
#clock.3,
|
||||
#pulseaudio,
|
||||
#memory,
|
||||
#cpu,
|
||||
#battery,
|
||||
#disk,
|
||||
#custom-gpu,
|
||||
#custom-pacman,
|
||||
#mpd,
|
||||
#network,
|
||||
#tray {
|
||||
background: #1a1a1a;
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
border-radius: 0 5px 5px 0;
|
||||
}
|
||||
|
||||
#clock.1 {
|
||||
border-radius: 5px 0 0 5px;
|
||||
}
|
||||
#clock.2 {
|
||||
font-weight: bold;
|
||||
}
|
||||
#clock.3 {
|
||||
border-radius: 0 5px 5px 0;
|
||||
}
|
||||
#pulseaudio {
|
||||
border-radius: 5px 0 0 5px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
color: #fdf6e3;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
padding: 0 5px;
|
||||
margin-right: 5px;
|
||||
border-bottom: 2px solid #1a1a1a;
|
||||
}
|
||||
#workspaces button.focused {
|
||||
color: #268bd2;
|
||||
border-bottom: 2px solid #268bd2;
|
||||
}
|
||||
#workspaces button.urgent {
|
||||
color: #af005f;
|
||||
border-bottom: 2px solid #af005f;
|
||||
}
|
||||
#workspaces button.urgent:hover {
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
background: #1a1a1a;
|
||||
border-radius: 0;
|
||||
border-bottom: 2px solid #af005f;
|
||||
}
|
||||
#workspaces button:hover {
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
background: #1a1a1a;
|
||||
border-radius: 0;
|
||||
border-bottom: 2px solid #268bd2;
|
||||
}
|
||||
/*
|
||||
#workspaces button:hover {
|
||||
color: #268bd2;
|
||||
border: 0;
|
||||
border-bottom: 2px solid #268bd2;
|
||||
background: #1a1a1a;
|
||||
}*/
|
||||
|
||||
#pulseaudio {
|
||||
color: #268bd2;
|
||||
}
|
||||
#memory {
|
||||
color: #2aa198;
|
||||
}
|
||||
#cpu {
|
||||
color: #6c71c4;
|
||||
}
|
||||
#custom-gpu {
|
||||
color: #6c71c4;
|
||||
}
|
||||
#battery {
|
||||
color: #859900;
|
||||
}
|
||||
#disk {
|
||||
color: #b58900;
|
||||
}
|
||||
#mpd {
|
||||
color: #EEE;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#pulseaudio,
|
||||
#memory,
|
||||
#cpu,
|
||||
#battery,
|
||||
#custom-gpu,
|
||||
#mpd,
|
||||
#network,
|
||||
#custom-pacman,
|
||||
#disk {
|
||||
padding: 0 10px;
|
||||
}
|
118
.config/waybar/style.css.orig
Normal file
118
.config/waybar/style.css.orig
Normal file
|
@ -0,0 +1,118 @@
|
|||
* {
|
||||
font-size: 12px;
|
||||
font-family: "Fira Sans", monospace;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
color: #fdf6e3;
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#clock.1,
|
||||
#clock.2,
|
||||
#clock.3,
|
||||
#pulseaudio,
|
||||
#memory,
|
||||
#cpu,
|
||||
#battery,
|
||||
#disk,
|
||||
#custom-gpu,
|
||||
#custom-pacman,
|
||||
#mpd,
|
||||
#network,
|
||||
#tray {
|
||||
background: #1a1a1a;
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
border-radius: 0 5px 5px 0;
|
||||
}
|
||||
|
||||
#clock.1 {
|
||||
border-radius: 5px 0 0 5px;
|
||||
}
|
||||
#clock.2 {
|
||||
font-weight: bold;
|
||||
}
|
||||
#clock.3 {
|
||||
border-radius: 0 5px 5px 0;
|
||||
}
|
||||
#pulseaudio {
|
||||
border-radius: 5px 0 0 5px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
color: #fdf6e3;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
padding: 0 5px;
|
||||
margin-right: 5px;
|
||||
border-bottom: 2px solid #1a1a1a;
|
||||
}
|
||||
#workspaces button.focused {
|
||||
color: #268bd2;
|
||||
border-bottom: 2px solid #268bd2;
|
||||
}
|
||||
#workspaces button.urgent {
|
||||
color: #af005f;
|
||||
border-bottom: 2px solid #af005f;
|
||||
}
|
||||
#workspaces button.urgent:hover {
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
background: #1a1a1a;
|
||||
border-radius: 0;
|
||||
border-bottom: 2px solid #af005f;
|
||||
}
|
||||
#workspaces button:hover {
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
background: #1a1a1a;
|
||||
border-radius: 0;
|
||||
border-bottom: 2px solid #268bd2;
|
||||
}
|
||||
/*
|
||||
#workspaces button:hover {
|
||||
color: #268bd2;
|
||||
border: 0;
|
||||
border-bottom: 2px solid #268bd2;
|
||||
background: #1a1a1a;
|
||||
}*/
|
||||
|
||||
#pulseaudio {
|
||||
color: #268bd2;
|
||||
}
|
||||
#memory {
|
||||
color: #2aa198;
|
||||
}
|
||||
#cpu {
|
||||
color: #6c71c4;
|
||||
}
|
||||
#custom-gpu {
|
||||
color: #6c71c4;
|
||||
}
|
||||
#battery {
|
||||
color: #859900;
|
||||
}
|
||||
#disk {
|
||||
color: #b58900;
|
||||
}
|
||||
#mpd {
|
||||
color: #EEE;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#pulseaudio,
|
||||
#memory,
|
||||
#cpu,
|
||||
#battery,
|
||||
#custom-gpu,
|
||||
#mpd,
|
||||
#network,
|
||||
#custom-pacman,
|
||||
#disk {
|
||||
padding: 0 10px;
|
||||
}
|
152
.config/waybar/style.css.win95
Normal file
152
.config/waybar/style.css.win95
Normal file
|
@ -0,0 +1,152 @@
|
|||
* {
|
||||
font-size: 10pt;
|
||||
font-family: "Fira Sans", monospace;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
color: black;
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#clock.1,
|
||||
#clock.2,
|
||||
#clock.3,
|
||||
#pulseaudio,
|
||||
#memory,
|
||||
#cpu,
|
||||
#battery,
|
||||
#disk,
|
||||
#custom-gpu,
|
||||
#custom-pacman,
|
||||
#mpd,
|
||||
#network,
|
||||
#tray {
|
||||
background: #AAA;
|
||||
color: black;
|
||||
border-bottom: 1px solid black;
|
||||
border-right: 1px solid black;
|
||||
border-top: 1px solid white;
|
||||
border-left: 1px solid white;
|
||||
}
|
||||
|
||||
#tray {
|
||||
padding: 0 5px 0 5px;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
border-radius: 0 0px 0px 0;
|
||||
background: #AAA;
|
||||
color: black;
|
||||
border-bottom: 1px solid black;
|
||||
border-right: 1px solid black;
|
||||
border-top: 1px solid white;
|
||||
border-left: 1px solid white;
|
||||
}
|
||||
|
||||
#clock.1 {
|
||||
padding: 0 5px 0 5px;
|
||||
border-radius: 0px 0 0 0px;
|
||||
}
|
||||
#clock.2 {
|
||||
padding: 0 5px 0 5px;
|
||||
font-size: 12pt;
|
||||
font-weight: bold;
|
||||
}
|
||||
#clock.3 {
|
||||
padding: 0 5px 0 5px;
|
||||
border-radius: 0 0px 0px 0;
|
||||
}
|
||||
#pulseaudio {
|
||||
border-radius: 0px 0 0 0px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
padding: 0 10px;
|
||||
background: #AAA;
|
||||
color: black;
|
||||
border-bottom: 1px solid #444;
|
||||
border-right: 1px solid #444;
|
||||
border-top: 1px solid #BBB;
|
||||
border-left: 1px solid #BBB;
|
||||
}
|
||||
#workspaces button.focused {
|
||||
color: black;
|
||||
background: #DDD;
|
||||
border-top: 1px solid #222;
|
||||
border-left: 1px solid #222;
|
||||
border-bottom: 1px solid #EEE;
|
||||
border-right: 1px solid #EEE;
|
||||
}
|
||||
#workspaces button.urgent {
|
||||
color: red;
|
||||
border-bottom: 1px solid #222;
|
||||
border-right: 1px solid #222;
|
||||
border-top: 1px solid #EEE;
|
||||
border-left: 1px solid #EEE;
|
||||
}
|
||||
#workspaces button.urgent:hover {
|
||||
color: black;
|
||||
background: #DDD;
|
||||
border-top: 1px solid #222;
|
||||
border-left: 1px solid #222;
|
||||
border-bottom: 1px solid #EEE;
|
||||
border-right: 1px solid #EEE;
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
border-radius: 0;
|
||||
}
|
||||
#workspaces button:hover {
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
border-radius: 0;
|
||||
background: #DDD;
|
||||
border-top: 1px solid #222;
|
||||
border-left: 1px solid #222;
|
||||
border-bottom: 1px solid #EEE;
|
||||
border-right: 1px solid #EEE;
|
||||
}
|
||||
/*
|
||||
#workspaces button:hover {
|
||||
color: #268bd2;
|
||||
border: 0;
|
||||
border-bottom: 2px solid #268bd2;
|
||||
background: #1a1a1a;
|
||||
}*/
|
||||
|
||||
#pulseaudio {
|
||||
color: #113f60;
|
||||
}
|
||||
#memory {
|
||||
color: #0f3a37;
|
||||
}
|
||||
#cpu {
|
||||
color: #484b82;
|
||||
}
|
||||
#custom-gpu {
|
||||
color: #484b82;
|
||||
}
|
||||
#battery {
|
||||
color: #859900;
|
||||
}
|
||||
#disk {
|
||||
color: #6e5300;
|
||||
}
|
||||
#mpd {
|
||||
color: black;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#pulseaudio,
|
||||
#memory,
|
||||
#cpu,
|
||||
#battery,
|
||||
#custom-gpu,
|
||||
#mpd,
|
||||
#network,
|
||||
#custom-pacman,
|
||||
#disk {
|
||||
padding: 0 10px;
|
||||
}
|
54
.config/wofi/style.css
Normal file
54
.config/wofi/style.css
Normal file
|
@ -0,0 +1,54 @@
|
|||
window {
|
||||
margin: 5px;
|
||||
border: 2px solid white;
|
||||
/*background-color: rgba(44,62,80,0.8);*/
|
||||
background-color: #1a1a1a;
|
||||
/* background: transparent; */
|
||||
/* background: transparent; */
|
||||
}
|
||||
|
||||
#input {
|
||||
margin: 5px;
|
||||
background: transparent;
|
||||
color: white;
|
||||
/* 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; */
|
||||
border: 2px transparent;
|
||||
/* background-color: green; */
|
||||
}
|
||||
|
||||
#scroll {
|
||||
margin: 5px;
|
||||
/* border: 2px solid orange; */
|
||||
/* background-color: orange; */
|
||||
}
|
||||
|
||||
#text {
|
||||
margin: 5px;
|
||||
color: white;
|
||||
/* border: 2px solid cyan; */
|
||||
/* background-color: cyan; */
|
||||
}
|
||||
|
||||
#entry:selected {
|
||||
background-color: rgba(0,0,0,0);
|
||||
/* text-decoration: underline; */
|
||||
/* text-decoration-color: white; */
|
||||
}
|
||||
|
||||
#text:selected {
|
||||
/* background-color: red; */
|
||||
text-decoration: underline;
|
||||
text-decoration-color: white;
|
||||
}
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.vim/plugged
|
2802
.vim/autoload/plug.vim
Normal file
2802
.vim/autoload/plug.vim
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user