Fix theme unfocused border
Uploaded sample logid.cfg for setting up the gestures to control sway More consistent colours between sway, waybar and GTK More comments in sway/config
|
@ -14,8 +14,8 @@
|
|||
# Default Terminal
|
||||
set $term urxvt
|
||||
|
||||
# Autofocus on hover
|
||||
focus_follows_mouse yes
|
||||
# Autofocus on hover, also when switching workspaces
|
||||
focus_follows_mouse always
|
||||
|
||||
# Rebind capslock to escape
|
||||
input "type:keyboard" {
|
||||
|
@ -27,23 +27,47 @@
|
|||
|
||||
# Borders
|
||||
# Also removes all title bars
|
||||
for_window [class="^.*"] border pixel 5
|
||||
default_border pixel 5
|
||||
for_window [class="^.*"] border pixel 4
|
||||
default_border pixel 4
|
||||
|
||||
# Floating windows get no borders >:(
|
||||
default_floating_border pixel 5
|
||||
default_floating_border pixel 4
|
||||
|
||||
# Hide borders when you can't see them anyway
|
||||
# Hide borders at the edge of the screen
|
||||
hide_edge_borders smart
|
||||
|
||||
# Set colours various window states
|
||||
# class border backgr. text indicator child_border
|
||||
client.focused #364A82 #364A82 #c0caf5 #364A82 #364A82
|
||||
# Syntax: client.<class> <border> <background> <text> [<indicator> [<child_border>]]
|
||||
# The available classes are:
|
||||
# client.focused: The window that has focus.
|
||||
# client.focused_inactive: The most recently focused view within a container which is not focused.
|
||||
# client.placeholder: Ignored (present for i3 compatibility).
|
||||
# client.unfocused: A view that does not have focus.
|
||||
# client.urgent: A view with an urgency hint. Note: Native Wayland windows do not support urgency. Urgency only works for Xwayland windows.
|
||||
#The meaning of each color is:
|
||||
# border: The border around the title bar.
|
||||
# background: The background of the title bar.
|
||||
# text: The text color of the title bar.
|
||||
# indicator: The color used to indicate where a new view will open. In a tiled container, this would paint the right border of the current view if a new view would be opened to the right.
|
||||
# child_border: The border around the view itself.
|
||||
# The default colors are:
|
||||
# class border background text indicator child_border
|
||||
# background n/a #ffffff n/a n/a n/a
|
||||
# focused #4c7899 #285577 #ffffff #2e9ef4 #285577
|
||||
# focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
|
||||
# unfocused #333333 #222222 #888888 #292d2e #222222
|
||||
# urgent #2f343a #900000 #ffffff #900000 #900000
|
||||
# placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
|
||||
client.focused #343b58 #343b58 #c0caf5 #343b58 #343b58
|
||||
client.focused_inactive #16161d #16161d #c0caf5 #16161d #16161d
|
||||
client.unfocused #16161d #16161d #c0caf5 #16161d #16161d
|
||||
|
||||
# Gaps
|
||||
# I like big gaps and I can not lie
|
||||
# gaps inner|outer|horizontal|vertical|top|right|bottom|left <amount>
|
||||
# Sets default amount pixels of inner or outer gap
|
||||
# the inner affects spacing around each view
|
||||
# the outer affects the spacing around each workspace
|
||||
# To reduce or remove outer gaps, outer gaps can be set to a negative value.
|
||||
gaps inner 0
|
||||
gaps outer 0
|
||||
gaps top 0
|
||||
|
@ -68,7 +92,7 @@
|
|||
### Monitors n shit ###
|
||||
|
||||
# Wallpaper
|
||||
#output * bg /home/marco/Images/bliss_windows_night.png fill
|
||||
#output * bg /home/marco/Pictures/bliss_windows_night.png fill
|
||||
output * bg #16161d solid_color
|
||||
|
||||
# NOTE: We are using kanshi to automagically setup screens
|
||||
|
@ -92,8 +116,9 @@
|
|||
# Kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# Resize/move (floating and tiled) windows with $mod and left/right click
|
||||
floating_modifier $mod normal
|
||||
# Resize/move (floating and tiled) windows with mouse
|
||||
# inverse: $mod+left click = resize $mod + right click = move window
|
||||
floating_modifier $mod inverse
|
||||
|
||||
# reload sway
|
||||
bindsym $mod+Shift+c reload
|
||||
|
@ -102,8 +127,8 @@
|
|||
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'
|
||||
|
||||
#prev/next workspace. bind it to your mouse if you have a sticky keyboard
|
||||
bindsym $mod+Shift+o workspace prev
|
||||
bindsym $mod+Shift+p workspace next
|
||||
bindsym $mod+Shift+o workspace prev_on_output
|
||||
bindsym $mod+Shift+p workspace next_on_output
|
||||
|
||||
# Switch to workspace
|
||||
bindsym $mod+1 workspace number 1
|
||||
|
@ -237,32 +262,37 @@
|
|||
for_window [class="discord"] move to workspace number 5
|
||||
for_window [class="Spotify"] move to workspace number 6
|
||||
for_window [class="Gimp-2.10"] move to workspace number 7
|
||||
for_window [class="Gimp"] move to workspace number 7
|
||||
|
||||
|
||||
######### Launch Programs #########
|
||||
### We need dis stuff ###
|
||||
|
||||
# Notification thing
|
||||
exec mako &
|
||||
exec mako
|
||||
|
||||
# Applets
|
||||
exec nm-applet --indicator &
|
||||
exec blueman-applet &
|
||||
exec nm-applet --indicator
|
||||
exec blueman-applet
|
||||
|
||||
# Arch update notifications
|
||||
exec kalu &
|
||||
exec kalu
|
||||
|
||||
# Gnome Keyring
|
||||
exec eval $(gnome-keyring-daemon --start)
|
||||
exec export SSH_AUTH_SOCK
|
||||
|
||||
# Clipboard manager
|
||||
exec wl-paste -t text --watch clipman store &
|
||||
exec wl-paste -t text --watch clipman store
|
||||
|
||||
# fingerprint reader
|
||||
exec lxsession &
|
||||
exec lxsession
|
||||
|
||||
# Auto set monitor properties
|
||||
exec_always pkill kanshi; exec kanshi &
|
||||
exec_always pkill kanshi; exec kanshi
|
||||
|
||||
# Autotiling based on window dimensions
|
||||
exec autotiling &
|
||||
exec autotiling
|
||||
|
||||
# start initial programs
|
||||
# TODO: We still need to something similar to i3 layouts
|
||||
|
@ -273,9 +303,10 @@
|
|||
exec ario &
|
||||
exec gimp &
|
||||
exec bitwarden &
|
||||
exec thunderbird &
|
||||
|
||||
# Finally start waybar
|
||||
exec /home/marco/.config/waybar/launch.sh &
|
||||
exec /home/marco/.config/waybar/launch.sh
|
||||
|
||||
|
||||
|
||||
|
@ -369,4 +400,4 @@
|
|||
# set $menu wofi --show=drun --lines=5 --prompt="" --hide-scroll --insensitive --columns=2
|
||||
# bindsym $mod+d exec /home/marco/.config/wofi/launch.sh
|
||||
|
||||
######
|
||||
######
|
||||
|
|
|
@ -30,12 +30,12 @@ window#waybar {
|
|||
}
|
||||
|
||||
#workspaces button.visible {
|
||||
color: rgba(217, 216, 216, 1);
|
||||
color: #343b58;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
border-top: 3px solid #364A82;
|
||||
border-bottom: 3px solid #364A82;
|
||||
border-top: 3px solid #343b58;
|
||||
border-bottom: 3px solid #343b58;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
|
@ -45,14 +45,14 @@ window#waybar {
|
|||
|
||||
#workspaces button:hover {
|
||||
box-shadow: inherit;
|
||||
border-color: #4470ad;
|
||||
color: #4470ad;
|
||||
border-color: #34548a;
|
||||
color: #364A82;
|
||||
}
|
||||
|
||||
/* Repeat style here to ensure properties are overwritten as there's no !important and button:hover above resets the colour */
|
||||
|
||||
#workspaces button.focused {
|
||||
color: #364A82;
|
||||
color: #343b58;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
bga: #414868FF;
|
||||
fga: #c0caf5FF;
|
||||
fg: #c0caf5FF;
|
||||
ac: #364A82FF;
|
||||
ac: #343b58FF;
|
||||
}
|
||||
|
|
107
etc/logid.cfg
Normal file
|
@ -0,0 +1,107 @@
|
|||
devices: ({
|
||||
name: "Wireless Mouse MX Master 3";
|
||||
|
||||
// A lower threshold number makes the wheel switch to free-spin mode
|
||||
// quicker when scrolling fast.
|
||||
smartshift: { on: true; threshold: 15; };
|
||||
|
||||
hiresscroll: { hires: true; invert: false; target: false; };
|
||||
dpi: 1000;
|
||||
|
||||
buttons: ({
|
||||
cid: 0xc3;
|
||||
action = {
|
||||
type: "Gestures";
|
||||
gestures: ({
|
||||
direction: "None";
|
||||
mode: "OnRelease";
|
||||
action = {
|
||||
type: "Keypress";
|
||||
keys: ["KEY_LEFTMETA", "KEY_LEFTSHIFT", "KEY_T"];
|
||||
}
|
||||
}, {
|
||||
direction: "Up";
|
||||
mode: "OnRelease";
|
||||
action =
|
||||
{
|
||||
type: "Keypress";
|
||||
keys: ["KEY_LEFTMETA", "KEY_F"];
|
||||
};
|
||||
}, {
|
||||
direction: "Down";
|
||||
mode: "OnRelease";
|
||||
action =
|
||||
{
|
||||
type: "Keypress";
|
||||
keys: ["KEY_LEFTMETA", "KEY_LEFTSHIFT", "KEY_Q"];
|
||||
};
|
||||
}, {
|
||||
direction: "Left";
|
||||
mode: "OnRelease";
|
||||
action =
|
||||
{
|
||||
type: "Keypress";
|
||||
keys: ["KEY_LEFTMETA", "KEY_LEFTSHIFT", "KEY_ESC"];
|
||||
};
|
||||
}, {
|
||||
direction: "Right";
|
||||
mode: "OnRelease";
|
||||
action =
|
||||
{
|
||||
type: "Keypress";
|
||||
keys: ["KEY_LEFTMETA", "KEY_LEFTSHIFT", "KEY_ESC"];
|
||||
}
|
||||
}
|
||||
);
|
||||
};
|
||||
}, {
|
||||
cid: 0xc4;
|
||||
action = {
|
||||
type: "Gestures";
|
||||
gestures: ({
|
||||
direction: "None";
|
||||
mode: "OnRelease";
|
||||
action = {
|
||||
type: "Keypress";
|
||||
keys: ["KEY_ESC"];
|
||||
}
|
||||
}, {
|
||||
direction: "Up";
|
||||
mode: "OnRelease";
|
||||
action = {
|
||||
type: "Keypress";
|
||||
keys: ["KEY_LEFTMETA", "KEY_LEFTSHIFT", "KEY_J"];
|
||||
};
|
||||
}, {
|
||||
direction: "Down";
|
||||
mode: "OnRelease";
|
||||
action = {
|
||||
type: "Keypress";
|
||||
keys: ["KEY_LEFTMETA", "KEY_LEFTSHIFT", "KEY_K"];
|
||||
};
|
||||
}, {
|
||||
direction: "Left";
|
||||
mode: "OnRelease";
|
||||
action = {
|
||||
type: "Keypress";
|
||||
keys: ["KEY_LEFTMETA", "KEY_LEFTSHIFT", "KEY_O"];
|
||||
}
|
||||
}, {
|
||||
direction: "Right";
|
||||
mode: "OnRelease";
|
||||
action = {
|
||||
type: "Keypress";
|
||||
keys: ["KEY_LEFTMETA", "KEY_LEFTSHIFT", "KEY_P"];
|
||||
}
|
||||
}
|
||||
);
|
||||
};
|
||||
}, {
|
||||
cid: 0x52;
|
||||
action = {
|
||||
type: "Keypress";
|
||||
keys: ["BTN_MIDDLE"];
|
||||
};
|
||||
}
|
||||
);
|
||||
});
|
Before Width: | Height: | Size: 623 B After Width: | Height: | Size: 623 B |
Before Width: | Height: | Size: 642 B After Width: | Height: | Size: 642 B |
Before Width: | Height: | Size: 641 B After Width: | Height: | Size: 641 B |
Before Width: | Height: | Size: 152 B After Width: | Height: | Size: 152 B |
Before Width: | Height: | Size: 151 B After Width: | Height: | Size: 151 B |
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 252 B After Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 347 B |
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 263 B |
Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 302 B |
Before Width: | Height: | Size: 226 B After Width: | Height: | Size: 226 B |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 207 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 152 B After Width: | Height: | Size: 152 B |
Before Width: | Height: | Size: 151 B After Width: | Height: | Size: 151 B |
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 252 B After Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 240 B |
Before Width: | Height: | Size: 188 B After Width: | Height: | Size: 188 B |
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 142 B |
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 176 B After Width: | Height: | Size: 176 B |
Before Width: | Height: | Size: 243 B After Width: | Height: | Size: 243 B |
Before Width: | Height: | Size: 210 B After Width: | Height: | Size: 210 B |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 277 B |
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 244 B |
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 141 B After Width: | Height: | Size: 141 B |
Before Width: | Height: | Size: 208 B After Width: | Height: | Size: 208 B |
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 174 B |
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 207 B |
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 240 B |
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 142 B |
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 176 B After Width: | Height: | Size: 176 B |
Before Width: | Height: | Size: 243 B After Width: | Height: | Size: 243 B |
Before Width: | Height: | Size: 210 B After Width: | Height: | Size: 210 B |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 277 B |
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 244 B |
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 141 B After Width: | Height: | Size: 141 B |
Before Width: | Height: | Size: 208 B After Width: | Height: | Size: 208 B |
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 174 B |
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 207 B |
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 240 B |
Before Width: | Height: | Size: 180 B After Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 392 B After Width: | Height: | Size: 392 B |
Before Width: | Height: | Size: 949 B After Width: | Height: | Size: 949 B |
Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 189 B |
Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 186 B After Width: | Height: | Size: 186 B |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 226 B After Width: | Height: | Size: 226 B |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 207 B |
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 347 B |
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 221 B |
Before Width: | Height: | Size: 366 B After Width: | Height: | Size: 366 B |
Before Width: | Height: | Size: 143 B After Width: | Height: | Size: 143 B |
Before Width: | Height: | Size: 141 B After Width: | Height: | Size: 141 B |
Before Width: | Height: | Size: 265 B After Width: | Height: | Size: 265 B |
Before Width: | Height: | Size: 899 B After Width: | Height: | Size: 899 B |
Before Width: | Height: | Size: 128 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 121 B After Width: | Height: | Size: 121 B |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 116 B After Width: | Height: | Size: 116 B |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 434 B After Width: | Height: | Size: 434 B |
Before Width: | Height: | Size: 176 B After Width: | Height: | Size: 176 B |
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 407 B |
Before Width: | Height: | Size: 366 B After Width: | Height: | Size: 366 B |
Before Width: | Height: | Size: 362 B After Width: | Height: | Size: 362 B |
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 251 B |