default menu for wayland

This commit is contained in:
tavo-wasd 2024-02-04 16:07:32 -06:00
parent 96906b3062
commit fc5c2fac9f
4 changed files with 110 additions and 4 deletions

2
.gitignore vendored
View file

@ -214,3 +214,5 @@ microsoft-edge-dev/
monitors.xml
qBittorrent/
retroarch/
gcolor3/
pcmanfm-qt/

31
foot/foot.ini Normal file
View file

@ -0,0 +1,31 @@
font=JetBrainsMono:size=9
[environment]
# name=value
[colors]
alpha=0.9
[colors]
background=121212
foreground=ebdbb2
regular0=282828
regular1=cc241d
regular2=98971a
regular3=d79921
regular4=458588
regular5=b16286
regular6=689d6a
regular7=a89984
bright0=928374
bright1=fb4934
bright2=b8bb26
bright3=fabd2f
bright4=83a598
bright5=d3869b
bright6=8ec07c
bright7=ebdbb2
[key-bindings]
scrollback-up-line=Control+Shift+k
scrollback-down-line=Control+Shift+j

View file

@ -4,7 +4,7 @@
PROMPT="$1" ; MODE="$2"
# Configuration
MENU="fzf" # Default to fzf
MENU="bemenu" # Default to fzf
col_nb="#121212" # Normal background
col_nf="#665c54" # Normal foreground
col_sb="#d3869b" # Selected background
@ -29,10 +29,9 @@ BEMENU_OPTS=" \
-c \
-i \
-l 10 \
-M 5 \
-W 0.3 \
-B 2 \
--cw 2 \
-B 1 \
--cw 1 \
--tb $col_sb \
--tf $col_sf \
--fb $col_nb \

74
sway/config Normal file
View file

@ -0,0 +1,74 @@
# Preferences
set $mod Mod4
set $left h
set $down j
set $up k
set $right l
set $term foot
set $menu /home/tavo/.config/scripts/menu/menu "Run:" run
output * bg /home/tavo/Pictures/backgrounds/background.jpg fill
# Keybinds
input "type:pointer" accel_profile flat
input "type:touchpad" natural_scroll enabled
bindsym $mod+Return exec $term
bindsym $mod+c kill
bindsym $mod+r exec $menu
floating_modifier $mod normal
bindsym $mod+q reload
bindsym $mod+Shift+q exec swaymsg exit
# Navigation
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# -
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
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
bindsym $mod+1 workspace " I "
bindsym $mod+2 workspace " II "
bindsym $mod+3 workspace " III "
bindsym $mod+4 workspace " IV "
bindsym $mod+5 workspace " V "
bindsym $mod+Shift+1 move container to workspace " I "
bindsym $mod+Shift+2 move container to workspace " II "
bindsym $mod+Shift+3 move container to workspace " III "
bindsym $mod+Shift+4 move container to workspace " IV "
bindsym $mod+Shift+5 move container to workspace " V "
# Layout
bindsym $mod+b splith
bindsym $mod+v splitv
bindsym $mod+Shift+t layout tabbed
bindsym $mod+e layout toggle split
bindsym $mod+f fullscreen
bindsym $mod+Shift+f floating toggle
default_border pixel 2
gaps inner 5
bar {
position top
# 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 %I:%M:%S %p'; do sleep 1; done
colors {
statusline #ffffff
background #323232
inactive_workspace #32323200 #32323200 #5c5c5c
}
}